From: Sean Keys Date: Fri, 11 Oct 2013 01:41:49 +0000 (+0000) Subject: * gas/xgate/all_insns.d: Add com macro insn test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=848e5d082d07c1aba6abe59fccbf32e761e25d19;p=binutils-gdb.git * gas/xgate/all_insns.d: Add com macro insn test. * gas/xgate/all_insns.s: Add com macro insn test. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 283902161b4..d9757c7754c 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-10-10 Sean Keys + + * gas/xgate/all_insns.d: Add com macro insn test. + * gas/xgate/all_insns.s: Add com macro insn test. + 2013-10-08 Jan Beulich * gas/arm/thumb-w-good.s: Add PUSH.W and POP.W tests. diff --git a/gas/testsuite/gas/xgate/all_insns.d b/gas/testsuite/gas/xgate/all_insns.d index 94690de93b5..abc03ba7b2c 100644 --- a/gas/testsuite/gas/xgate/all_insns.d +++ b/gas/testsuite/gas/xgate/all_insns.d @@ -8,63 +8,63 @@ Disassembly of section .text: 0+0000 adc R1, R2, R3 -0+0002 bcc \*228 Abs\* 0x000000e6 +0+0002 bcc \*230 Abs\* 0x000000e8 0+0004 add R4, R5, R6 0+0006 addl R7, #0xe1 0+0008 addh R7, #0x00 Abs\* 0x000000e1 0+000a addh R1, #0xff -0+000c addl R2, #0xff Abs\* 0x0000ffff +0+000c addl R2, #0xff Abs\* 0x0000ffff 0+000e addl R4, #0x44 -0+0010 addh R4, #0x1f Abs\* 0x00001f44 +0+0010 addh R4, #0x1f Abs\* 0x00001f44 0+0012 and R3, R4, R5 0+0014 andl R1, #0x04 -0+0016 andh R1, #0x80 Abs\* 0x00008004 -0+0018 addl R5, #0xe6 +0+0016 andh R1, #0x80 Abs\* 0x00008004 +0+0018 addl R5, #0xe8 18: R_XGATE_IMM8_LO .text -0+001a addh R5, #0x00 Abs\* 0x000000e6 +0+001a addh R5, #0x00 Abs\* 0x000000e8 1a: R_XGATE_IMM8_HI .text -0+001c andl R7, #0xe6 +0+001c andl R7, #0xe8 1c: R_XGATE_IMM8_LO .text -0+001e andh R7, #0x00 Abs\* 0x000000e6 +0+001e andh R7, #0x00 Abs\* 0x000000e8 1e: R_XGATE_IMM8_HI .text 0+0020 andl R4, #0x01 -0+0022 andh R4, #0xff Abs\* 0x0000ff01 +0+0022 andh R4, #0xff Abs\* 0x0000ff01 0+0024 andl R3, #0x01 -0+0026 andh R6, #0xff Abs\* 0x0000ff01 +0+0026 andh R6, #0xff Abs\* 0x0000ff01 0+0028 asr R0, #0x03 0+002a asr R1, R2 -0+002c bcc \*186 Abs\* 0x000000e6 -0+002e bcs \*184 Abs\* 0x000000e6 -0+0030 beq \*182 Abs\* 0x000000e6 +0+002c bcc \*188 Abs\* 0x000000e8 +0+002e bcs \*186 Abs\* 0x000000e8 +0+0030 beq \*184 Abs\* 0x000000e8 0+0032 bfext R3, R4, R5 0+0034 bffo R6, R7 0+0036 bfins R0, R1, R2 0+0038 bfinsi R3, R4, R5 0+003a bfinsx R6, R7, R0 -0+003c bge \*170 Abs\* 0x000000e6 -0+003e bgt \*168 Abs\* 0x000000e6 -0+0040 bhi \*166 Abs\* 0x000000e6 -0+0042 bcc \*164 Abs\* 0x000000e6 +0+003c bge \*172 Abs\* 0x000000e8 +0+003e bgt \*170 Abs\* 0x000000e8 +0+0040 bhi \*168 Abs\* 0x000000e8 +0+0042 bcc \*166 Abs\* 0x000000e8 0+0044 bith R1, #0x20 0+0046 bitl R2, #0x00 -0+0048 ble \*158 Abs\* 0x000000e6 -0+004a bcs \*156 Abs\* 0x000000e6 -0+004c bls \*154 Abs\* 0x000000e6 -0+004e blt \*152 Abs\* 0x000000e6 -0+0050 bmi \*150 Abs\* 0x000000e6 -0+0052 bne \*148 Abs\* 0x000000e6 -0+0054 bpl \*146 Abs\* 0x000000e6 -0+0056 bra \*144 Abs\* 0x000000e6 +0+0048 ble \*160 Abs\* 0x000000e8 +0+004a bcs \*158 Abs\* 0x000000e8 +0+004c bls \*156 Abs\* 0x000000e8 +0+004e blt \*154 Abs\* 0x000000e8 +0+0050 bmi \*152 Abs\* 0x000000e8 +0+0052 bne \*150 Abs\* 0x000000e8 +0+0054 bpl \*148 Abs\* 0x000000e8 +0+0056 bra \*146 Abs\* 0x000000e8 ... -0+005a bvc \*140 Abs\* 0x000000e6 -0+005c bvs \*138 Abs\* 0x000000e6 +0+005a bvc \*142 Abs\* 0x000000e8 +0+005c bvs \*140 Abs\* 0x000000e8 0+005e sub R0, R1, R2 0+0060 cmpl R3, #0xff 0+0062 xnor R4, R0, R5 0+0064 sbc R0, R6, R7 -0+0066 cmpl R1, #0xff Abs\* 0x0000ffdd +0+0066 cmpl R1, #0xff Abs\* 0x0000ffdd 0+0068 cpch R1, #0xff -0+006a cpch R2, #0xff Abs\* 0x0000ffff +0+006a cpch R2, #0xff Abs\* 0x0000ffff 0+006c csem #0x4 0+006e csem R5 0+0070 csl R6, #0x0b @@ -77,10 +77,10 @@ Disassembly of section .text: 0+007e ldb R7, \(R0, \-R1\) 0+0080 ldb R0, \(R0, R0\) 0+0082 ldh R1, #0xff -0+0084 ldl R2, #0xff Abs\* 0x0000ffff -0+0086 ldl R3, #0xe6 +0+0084 ldl R2, #0xff Abs\* 0x0000ffff +0+0086 ldl R3, #0xe8 86: R_XGATE_IMM8_LO .text -0+0088 ldh R3, #0x00 Abs\* 0x000000e6 +0+0088 ldh R3, #0x00 Abs\* 0x000000e8 88: R_XGATE_IMM8_HI .text 0+008a ldw R4, \(R5, #0x14\) 0+008c ldw R5, \(R6, R7\+\) @@ -118,9 +118,9 @@ Disassembly of section .text: 0+00cc stw R2, \(R3, R4\) 0+00ce sub R3, R4, R6 0+00d0 subl R4, #0xff -0+00d2 subh R4, #0xff Abs\* 0x0000ffff +0+00d2 subh R4, #0xff Abs\* 0x0000ffff 0+00d4 subh R5, #0xff -0+00d6 subl R6, #0xff Abs\* 0x0000ffff +0+00d6 subl R6, #0xff Abs\* 0x0000ffff 0+00d8 tfr R7, PC 0+00da tfr R7, CCR 0+00dc tfr CCR, R7 @@ -128,3 +128,4 @@ Disassembly of section .text: 0+00e0 xnor R1, R2, R3 0+00e2 xnorh R4, #0xff 0+00e4 xnorl R5, #0xff +0+00e6 xnor R3, R0, R3 \ No newline at end of file diff --git a/gas/testsuite/gas/xgate/all_insns.s b/gas/testsuite/gas/xgate/all_insns.s index 20283e939b2..4f4c448d6f4 100644 --- a/gas/testsuite/gas/xgate/all_insns.s +++ b/gas/testsuite/gas/xgate/all_insns.s @@ -106,6 +106,7 @@ L101: tfr ccr, r7 L102: tst r1 L103: xnor r1, r2, r3 L104: xnorh r4, #255 -L105: xnorl r5, #255 +L105: xnorl r5, #255 +L106: com r3 END_CODE: