From 4f80ef3ef35109c37a5eafb5d394b63d614577cf Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 29 Jan 2009 11:50:46 +0000 Subject: gas: 2009-01-29 Mark Mitchell * config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax, uasx, uhasx, uhsx, uqasx, uqsax, usax. gas/testsuite: 2009-01-29 Mark Mitchell * gas/arm/thumb32.s (qadd): Add tests for them. * gas/arm/thumb32.d: Adjust accordingly. --- gas/testsuite/ChangeLog | 5 ++++ gas/testsuite/gas/arm/thumb32.d | 52 +++++++++++++++++++++++++---------------- gas/testsuite/gas/arm/thumb32.s | 12 ++++++++++ 3 files changed, 49 insertions(+), 20 deletions(-) (limited to 'gas/testsuite') diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 7bc3d8e..8895366 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2009-01-29 Mark Mitchell + * gas/arm/thumb32.s (qadd): Add tests for them. + * gas/arm/thumb32.d: Adjust accordingly. + +2009-01-29 Mark Mitchell + * gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub. * gas/arm/thumb32.d: Likewise. diff --git a/gas/testsuite/gas/arm/thumb32.d b/gas/testsuite/gas/arm/thumb32.d index 406100c..e77ed2f 100644 --- a/gas/testsuite/gas/arm/thumb32.d +++ b/gas/testsuite/gas/arm/thumb32.d @@ -686,42 +686,54 @@ Disassembly of section .text: 0[0-9a-f]+ <[^>]+> fa92 f113 qadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f113 qadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f113 qaddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f113 qaddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f193 qdadd r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f1b3 qdsub r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f1a3 qsub r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f113 qsub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f113 qsub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f113 qsubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f113 qsubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa92 f103 sadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f103 sadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f103 saddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f103 saddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f103 ssub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f103 ssub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f103 ssubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f103 ssubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa92 f123 shadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f123 shadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f123 shaddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f123 shaddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f123 shsub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f123 shsub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f123 shsubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f123 shsubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa92 f143 uadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f143 uadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f143 uaddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f143 uaddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f143 usub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f143 usub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f143 usubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f143 usubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa92 f163 uhadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f163 uhadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f163 uhaddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f163 uhaddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f163 uhsub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f163 uhsub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f163 uhsubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f163 uhsubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> fa92 f153 uqadd16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa82 f153 uqadd8 r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f153 uqaddsubx r1, r2, r3 +0[0-9a-f]+ <[^>]+> faa2 f153 uqaddsubx r1, r2, r3 0[0-9a-f]+ <[^>]+> fad2 f153 uqsub16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fac2 f153 uqsub8 r1, r2, r3 0[0-9a-f]+ <[^>]+> fae2 f153 uqsubaddx r1, r2, r3 +0[0-9a-f]+ <[^>]+> fae2 f153 uqsubaddx r1, r2, r3 0[0-9a-f]+ <[^>]+> faa2 f183 sel r1, r2, r3 0[0-9a-f]+ <[^>]+> ba00 rev r0, r0 0[0-9a-f]+ <[^>]+> fa90 f080 rev\.w r0, r0 @@ -917,26 +929,26 @@ Disassembly of section .text: 0[0-9a-f]+ <[^>]+> fa52 f183 uxtab r1, r2, r3 0[0-9a-f]+ <[^>]+> fa32 f183 uxtab16 r1, r2, r3 0[0-9a-f]+ <[^>]+> fa12 f183 uxtah r1, r2, r3 -0[0-9a-f]+ <[^>]+> f89f 12aa ldrb\.w r1, \[pc, #682\] ; 0+e12 <[^>]+> -0[0-9a-f]+ <[^>]+> f89f 1155 ldrb\.w r1, \[pc, #341\] ; 0+cc1 <[^>]+> -0[0-9a-f]+ <[^>]+> f81f 12aa ldrb\.w r1, \[pc, #-682\] ; 0+8c6 <[^>]+> -0[0-9a-f]+ <[^>]+> f81f 1155 ldrb\.w r1, \[pc, #-341\] ; 0+a1f <[^>]+> -0[0-9a-f]+ <[^>]+> f99f 12aa ldrsb\.w r1, \[pc, #682\] ; 0+e22 <[^>]+> -0[0-9a-f]+ <[^>]+> f99f 1155 ldrsb\.w r1, \[pc, #341\] ; 0+cd1 <[^>]+> -0[0-9a-f]+ <[^>]+> f91f 12aa ldrsb\.w r1, \[pc, #-682\] ; 0+8d6 <[^>]+> -0[0-9a-f]+ <[^>]+> f91f 1155 ldrsb\.w r1, \[pc, #-341\] ; 0+a2f <[^>]+> -0[0-9a-f]+ <[^>]+> f8bf 12aa ldrh\.w r1, \[pc, #682\] ; 0+e32 <[^>]+> -0[0-9a-f]+ <[^>]+> f8bf 1155 ldrh\.w r1, \[pc, #341\] ; 0+ce1 <[^>]+> -0[0-9a-f]+ <[^>]+> f83f 12aa ldrh\.w r1, \[pc, #-682\] ; 0+8e6 <[^>]+> -0[0-9a-f]+ <[^>]+> f83f 1155 ldrh\.w r1, \[pc, #-341\] ; 0+a3f <[^>]+> -0[0-9a-f]+ <[^>]+> f9bf 12aa ldrsh\.w r1, \[pc, #682\] ; 0+e42 <[^>]+> -0[0-9a-f]+ <[^>]+> f9bf 1155 ldrsh\.w r1, \[pc, #341\] ; 0+cf1 <[^>]+> -0[0-9a-f]+ <[^>]+> f93f 12aa ldrsh\.w r1, \[pc, #-682\] ; 0+8f6 <[^>]+> -0[0-9a-f]+ <[^>]+> f93f 1155 ldrsh\.w r1, \[pc, #-341\] ; 0+a4f <[^>]+> -0[0-9a-f]+ <[^>]+> f8df 12aa ldr\.w r1, \[pc, #682\] ; 0+e52 <[^>]+> -0[0-9a-f]+ <[^>]+> f8df 1155 ldr\.w r1, \[pc, #341\] ; 0+d01 <[^>]+> -0[0-9a-f]+ <[^>]+> f85f 12aa ldr\.w r1, \[pc, #-682\] ; 0+906 <[^>]+> -0[0-9a-f]+ <[^>]+> f85f 1155 ldr\.w r1, \[pc, #-341\] ; 0+a5f <[^>]+> +0[0-9a-f]+ <[^>]+> f89f 12aa ldrb\.w r1, \[pc, #682\] ; 0+e42 <[^>]+> +0[0-9a-f]+ <[^>]+> f89f 1155 ldrb\.w r1, \[pc, #341\] ; 0+cf1 <[^>]+> +0[0-9a-f]+ <[^>]+> f81f 12aa ldrb\.w r1, \[pc, #-682\] ; 0+8f6 <[^>]+> +0[0-9a-f]+ <[^>]+> f81f 1155 ldrb\.w r1, \[pc, #-341\] ; 0+a4f <[^>]+> +0[0-9a-f]+ <[^>]+> f99f 12aa ldrsb\.w r1, \[pc, #682\] ; 0+e52 <[^>]+> +0[0-9a-f]+ <[^>]+> f99f 1155 ldrsb\.w r1, \[pc, #341\] ; 0+d01 <[^>]+> +0[0-9a-f]+ <[^>]+> f91f 12aa ldrsb\.w r1, \[pc, #-682\] ; 0+906 <[^>]+> +0[0-9a-f]+ <[^>]+> f91f 1155 ldrsb\.w r1, \[pc, #-341\] ; 0+a5f <[^>]+> +0[0-9a-f]+ <[^>]+> f8bf 12aa ldrh\.w r1, \[pc, #682\] ; 0+e62 <[^>]+> +0[0-9a-f]+ <[^>]+> f8bf 1155 ldrh\.w r1, \[pc, #341\] ; 0+d11 <[^>]+> +0[0-9a-f]+ <[^>]+> f83f 12aa ldrh\.w r1, \[pc, #-682\] ; 0+916 <[^>]+> +0[0-9a-f]+ <[^>]+> f83f 1155 ldrh\.w r1, \[pc, #-341\] ; 0+a6f <[^>]+> +0[0-9a-f]+ <[^>]+> f9bf 12aa ldrsh\.w r1, \[pc, #682\] ; 0+e72 <[^>]+> +0[0-9a-f]+ <[^>]+> f9bf 1155 ldrsh\.w r1, \[pc, #341\] ; 0+d21 <[^>]+> +0[0-9a-f]+ <[^>]+> f93f 12aa ldrsh\.w r1, \[pc, #-682\] ; 0+926 <[^>]+> +0[0-9a-f]+ <[^>]+> f93f 1155 ldrsh\.w r1, \[pc, #-341\] ; 0+a7f <[^>]+> +0[0-9a-f]+ <[^>]+> f8df 12aa ldr\.w r1, \[pc, #682\] ; 0+e82 <[^>]+> +0[0-9a-f]+ <[^>]+> f8df 1155 ldr\.w r1, \[pc, #341\] ; 0+d31 <[^>]+> +0[0-9a-f]+ <[^>]+> f85f 12aa ldr\.w r1, \[pc, #-682\] ; 0+936 <[^>]+> +0[0-9a-f]+ <[^>]+> f85f 1155 ldr\.w r1, \[pc, #-341\] ; 0+a8f <[^>]+> 0[0-9a-f]+ <[^>]+> f200 0900 addw r9, r0, #0 ; 0x0 0[0-9a-f]+ <[^>]+> f60f 76ff addw r6, pc, #4095 ; 0xfff 0[0-9a-f]+ <[^>]+> f6a9 2685 subw r6, r9, #2693 ; 0xa85 diff --git a/gas/testsuite/gas/arm/thumb32.s b/gas/testsuite/gas/arm/thumb32.s index a4653d0..2757899 100644 --- a/gas/testsuite/gas/arm/thumb32.s +++ b/gas/testsuite/gas/arm/thumb32.s @@ -529,42 +529,54 @@ qadd: qadd r1, r2, r3 qadd16 r1, r2, r3 qadd8 r1, r2, r3 + qasx r1, r2, r3 qaddsubx r1, r2, r3 qdadd r1, r2, r3 qdsub r1, r2, r3 qsub r1, r2, r3 qsub16 r1, r2, r3 qsub8 r1, r2, r3 + qsax r1, r2, r3 qsubaddx r1, r2, r3 sadd16 r1, r2, r3 sadd8 r1, r2, r3 + sasx r1, r2, r3 saddsubx r1, r2, r3 ssub16 r1, r2, r3 ssub8 r1, r2, r3 + ssax r1, r2, r3 ssubaddx r1, r2, r3 shadd16 r1, r2, r3 shadd8 r1, r2, r3 + shasx r1, r2, r3 shaddsubx r1, r2, r3 shsub16 r1, r2, r3 shsub8 r1, r2, r3 + shsax r1, r2, r3 shsubaddx r1, r2, r3 uadd16 r1, r2, r3 uadd8 r1, r2, r3 + uasx r1, r2, r3 uaddsubx r1, r2, r3 usub16 r1, r2, r3 usub8 r1, r2, r3 + usax r1, r2, r3 usubaddx r1, r2, r3 uhadd16 r1, r2, r3 uhadd8 r1, r2, r3 + uhasx r1, r2, r3 uhaddsubx r1, r2, r3 uhsub16 r1, r2, r3 uhsub8 r1, r2, r3 + uhsax r1, r2, r3 uhsubaddx r1, r2, r3 uqadd16 r1, r2, r3 uqadd8 r1, r2, r3 + uqasx r1, r2, r3 uqaddsubx r1, r2, r3 uqsub16 r1, r2, r3 uqsub8 r1, r2, r3 + uqsax r1, r2, r3 uqsubaddx r1, r2, r3 sel r1, r2, r3 -- cgit v1.1