1.syntax unified 2.arch armv8-a 3 4.thumb 5@ Wide instruction in IT block is deprecated. 6it eq 7ldrdeq r0, [r1] 8 9@ This IT block is not deprecated. 10it eq 11moveq r2, r3 12 13@ IT block of more than one instruction is deprecated. 14itt eq 15moveq r0, r1 16moveq r2, r3 17 18@ Even for auto IT blocks 19moveq r2, r3 20movne r2, r3 21 22adds r0, r1 23 24@ This automatic IT block is valid 25moveq r2,r3 26 27add r0, r1, r2 28 29@ This one is too wide. 30ldrdeq r0, [r1] 31 32add r0, r1, r2 33 34@ Test automatic IT block generation at end of a file. 35movne r0, r1 36moveq r1, r0 37 38@ Test the various classes of 16-bit instructions that are deprecated. 39it eq 40svceq 0 41 42it eq 43uxtheq r0, r1 44 45it eq 46addeq r0, pc, #0 47 48it eq 49ldreq r0, [pc, #4] 50 51it eq 52bxeq pc 53 54it eq 55addeq r0, pc, pc 56 57it eq 58addeq pc, r0, r0 59 60it eq 61addeq sp, sp, #12 62 63@ Misaligned immediate. 64it eq 65addeq sp, sp, #3 66 67it eq 68subeq sp, sp, #12 69 70@ Misaligned immediate. 71it eq 72subeq sp, sp, #3 73