diff options
author | Sean Keys <skeys@ipdatasys.com> | 2013-10-11 01:41:49 +0000 |
---|---|---|
committer | Sean Keys <skeys@ipdatasys.com> | 2013-10-11 01:41:49 +0000 |
commit | 848e5d082d07c1aba6abe59fccbf32e761e25d19 (patch) | |
tree | fa829029c6a4f26c1009a684bb7bf6b920914736 /gas | |
parent | 9ce09ba2d78f79a1e539f073900d1bd47900ef3d (diff) | |
download | fsf-binutils-gdb-848e5d082d07c1aba6abe59fccbf32e761e25d19.zip fsf-binutils-gdb-848e5d082d07c1aba6abe59fccbf32e761e25d19.tar.gz fsf-binutils-gdb-848e5d082d07c1aba6abe59fccbf32e761e25d19.tar.bz2 |
* gas/xgate/all_insns.d: Add com macro insn test.
* gas/xgate/all_insns.s: Add com macro insn test.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/xgate/all_insns.d | 69 | ||||
-rw-r--r-- | gas/testsuite/gas/xgate/all_insns.s | 3 |
3 files changed, 42 insertions, 35 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 2839021..d9757c7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-10-10 Sean Keys <skeys@ipdatasys.com> + + * 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 <jbeulich@suse.com> * 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 94690de..abc03ba 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 <L0> adc R1, R2, R3 -0+0002 <L1> bcc \*228 Abs\* 0x000000e6 <END_CODE> +0+0002 <L1> bcc \*230 Abs\* 0x000000e8 <END_CODE> 0+0004 <L2> add R4, R5, R6 0+0006 <L3> addl R7, #0xe1 0+0008 <L3\+0x2> addh R7, #0x00 Abs\* 0x000000e1 <L103\+0x1> 0+000a <L4> addh R1, #0xff -0+000c <L5> addl R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff19> +0+000c <L5> addl R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff17> 0+000e <L6> addl R4, #0x44 -0+0010 <L6\+0x2> addh R4, #0x1f Abs\* 0x00001f44 <END_CODE\+0x1e5e> +0+0010 <L6\+0x2> addh R4, #0x1f Abs\* 0x00001f44 <END_CODE\+0x1e5c> 0+0012 <L7> and R3, R4, R5 0+0014 <L8> andl R1, #0x04 -0+0016 <L8\+0x2> andh R1, #0x80 Abs\* 0x00008004 <END_CODE\+0x7f1e> -0+0018 <L9> addl R5, #0xe6 +0+0016 <L8\+0x2> andh R1, #0x80 Abs\* 0x00008004 <END_CODE\+0x7f1c> +0+0018 <L9> addl R5, #0xe8 18: R_XGATE_IMM8_LO .text -0+001a <L9\+0x2> addh R5, #0x00 Abs\* 0x000000e6 <END_CODE> +0+001a <L9\+0x2> addh R5, #0x00 Abs\* 0x000000e8 <END_CODE> 1a: R_XGATE_IMM8_HI .text -0+001c <L10> andl R7, #0xe6 +0+001c <L10> andl R7, #0xe8 1c: R_XGATE_IMM8_LO .text -0+001e <L10\+0x2> andh R7, #0x00 Abs\* 0x000000e6 <END_CODE> +0+001e <L10\+0x2> andh R7, #0x00 Abs\* 0x000000e8 <END_CODE> 1e: R_XGATE_IMM8_HI .text 0+0020 <L11> andl R4, #0x01 -0+0022 <L11\+0x2> andh R4, #0xff Abs\* 0x0000ff01 <END_CODE\+0xfe1b> +0+0022 <L11\+0x2> andh R4, #0xff Abs\* 0x0000ff01 <END_CODE\+0xfe19> 0+0024 <L12> andl R3, #0x01 -0+0026 <L13> andh R6, #0xff Abs\* 0x0000ff01 <END_CODE\+0xfe1b> +0+0026 <L13> andh R6, #0xff Abs\* 0x0000ff01 <END_CODE\+0xfe19> 0+0028 <L14> asr R0, #0x03 0+002a <L15> asr R1, R2 -0+002c <L16> bcc \*186 Abs\* 0x000000e6 <END_CODE> -0+002e <L17> bcs \*184 Abs\* 0x000000e6 <END_CODE> -0+0030 <L18> beq \*182 Abs\* 0x000000e6 <END_CODE> +0+002c <L16> bcc \*188 Abs\* 0x000000e8 <END_CODE> +0+002e <L17> bcs \*186 Abs\* 0x000000e8 <END_CODE> +0+0030 <L18> beq \*184 Abs\* 0x000000e8 <END_CODE> 0+0032 <L19> bfext R3, R4, R5 0+0034 <L20> bffo R6, R7 0+0036 <L21> bfins R0, R1, R2 0+0038 <L22> bfinsi R3, R4, R5 0+003a <L23> bfinsx R6, R7, R0 -0+003c <L24> bge \*170 Abs\* 0x000000e6 <END_CODE> -0+003e <L25> bgt \*168 Abs\* 0x000000e6 <END_CODE> -0+0040 <L26> bhi \*166 Abs\* 0x000000e6 <END_CODE> -0+0042 <L27> bcc \*164 Abs\* 0x000000e6 <END_CODE> +0+003c <L24> bge \*172 Abs\* 0x000000e8 <END_CODE> +0+003e <L25> bgt \*170 Abs\* 0x000000e8 <END_CODE> +0+0040 <L26> bhi \*168 Abs\* 0x000000e8 <END_CODE> +0+0042 <L27> bcc \*166 Abs\* 0x000000e8 <END_CODE> 0+0044 <L28> bith R1, #0x20 0+0046 <L29> bitl R2, #0x00 -0+0048 <L30> ble \*158 Abs\* 0x000000e6 <END_CODE> -0+004a <L31> bcs \*156 Abs\* 0x000000e6 <END_CODE> -0+004c <L32> bls \*154 Abs\* 0x000000e6 <END_CODE> -0+004e <L33> blt \*152 Abs\* 0x000000e6 <END_CODE> -0+0050 <L34> bmi \*150 Abs\* 0x000000e6 <END_CODE> -0+0052 <L35> bne \*148 Abs\* 0x000000e6 <END_CODE> -0+0054 <L36> bpl \*146 Abs\* 0x000000e6 <END_CODE> -0+0056 <L37> bra \*144 Abs\* 0x000000e6 <END_CODE> +0+0048 <L30> ble \*160 Abs\* 0x000000e8 <END_CODE> +0+004a <L31> bcs \*158 Abs\* 0x000000e8 <END_CODE> +0+004c <L32> bls \*156 Abs\* 0x000000e8 <END_CODE> +0+004e <L33> blt \*154 Abs\* 0x000000e8 <END_CODE> +0+0050 <L34> bmi \*152 Abs\* 0x000000e8 <END_CODE> +0+0052 <L35> bne \*150 Abs\* 0x000000e8 <END_CODE> +0+0054 <L36> bpl \*148 Abs\* 0x000000e8 <END_CODE> +0+0056 <L37> bra \*146 Abs\* 0x000000e8 <END_CODE> ... -0+005a <L39> bvc \*140 Abs\* 0x000000e6 <END_CODE> -0+005c <L40> bvs \*138 Abs\* 0x000000e6 <END_CODE> +0+005a <L39> bvc \*142 Abs\* 0x000000e8 <END_CODE> +0+005c <L40> bvs \*140 Abs\* 0x000000e8 <END_CODE> 0+005e <L41> sub R0, R1, R2 0+0060 <L42> cmpl R3, #0xff 0+0062 <L43> xnor R4, R0, R5 0+0064 <L44> sbc R0, R6, R7 -0+0066 <L45> cmpl R1, #0xff Abs\* 0x0000ffdd <END_CODE\+0xfef7> +0+0066 <L45> cmpl R1, #0xff Abs\* 0x0000ffdd <END_CODE\+0xfef5> 0+0068 <L45\+0x2> cpch R1, #0xff -0+006a <L46> cpch R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff19> +0+006a <L46> cpch R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff17> 0+006c <L47> csem #0x4 0+006e <L48> csem R5 0+0070 <L49> csl R6, #0x0b @@ -77,10 +77,10 @@ Disassembly of section .text: 0+007e <L56> ldb R7, \(R0, \-R1\) 0+0080 <L57> ldb R0, \(R0, R0\) 0+0082 <L58> ldh R1, #0xff -0+0084 <L59> ldl R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff19> -0+0086 <L60> ldl R3, #0xe6 +0+0084 <L59> ldl R2, #0xff Abs\* 0x0000ffff <END_CODE\+0xff17> +0+0086 <L60> ldl R3, #0xe8 86: R_XGATE_IMM8_LO .text -0+0088 <L60\+0x2> ldh R3, #0x00 Abs\* 0x000000e6 <END_CODE> +0+0088 <L60\+0x2> ldh R3, #0x00 Abs\* 0x000000e8 <END_CODE> 88: R_XGATE_IMM8_HI .text 0+008a <L61> ldw R4, \(R5, #0x14\) 0+008c <L62> ldw R5, \(R6, R7\+\) @@ -118,9 +118,9 @@ Disassembly of section .text: 0+00cc <L94> stw R2, \(R3, R4\) 0+00ce <L95> sub R3, R4, R6 0+00d0 <L96> subl R4, #0xff -0+00d2 <L96\+0x2> subh R4, #0xff Abs\* 0x0000ffff <END_CODE\+0xff19> +0+00d2 <L96\+0x2> subh R4, #0xff Abs\* 0x0000ffff <END_CODE\+0xff17> 0+00d4 <L97> subh R5, #0xff -0+00d6 <L98> subl R6, #0xff Abs\* 0x0000ffff <END_CODE\+0xff19> +0+00d6 <L98> subl R6, #0xff Abs\* 0x0000ffff <END_CODE\+0xff17> 0+00d8 <L99> tfr R7, PC 0+00da <L100> tfr R7, CCR 0+00dc <L101> tfr CCR, R7 @@ -128,3 +128,4 @@ Disassembly of section .text: 0+00e0 <L103> xnor R1, R2, R3 0+00e2 <L104> xnorh R4, #0xff 0+00e4 <L105> xnorl R5, #0xff +0+00e6 <L106> 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 20283e9..4f4c448 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: |