summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-04-21 18:56:44 +0000
committerJoseph Myers <joseph@codesourcery.com>2010-04-21 18:56:44 +0000
commite1c49f0ddffcbaab44d492901dd0495d53cead9f (patch)
tree9d58c5fd8a1622724f4bf4067906062a2e4444ce /gas
parentb61f460322e25cdec16839158e9974954760b487 (diff)
downloadbinutils-redhat-e1c49f0ddffcbaab44d492901dd0495d53cead9f.tar.gz
gas/testsuite:
* gas/tic6x/insns-c674x.s, gas/tic6x/insns-c674x.d: Also test "b .S2 b3". include/opcode: * tic6x-insn-formats.h (s_branch): Correct typo in bitmask.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.d2
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.s1
3 files changed, 7 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9b36f2abc4..111a118e54 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-21 Joseph Myers <joseph@codesourcery.com>
+
+ * gas/tic6x/insns-c674x.s, gas/tic6x/insns-c674x.d: Also test
+ "b .S2 b3".
+
2010-04-21 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11509
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.d b/gas/testsuite/gas/tic6x/insns-c674x.d
index 5970d54710..9100a71adf 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.d
+++ b/gas/testsuite/gas/tic6x/insns-c674x.d
@@ -176,6 +176,7 @@ Disassembly of section \.text:
[0-9a-f]+[048c] <[^>]*> 007744b2[ \t]+avgu4 \.M2 b26,b29,b0
[0-9a-f]+[048c] <[^>]*> a49874b2[ \t]+\[a2\] avgu4 \.M2X b3,a6,b9
[0-9a-f]+[048c] <[^>]*> 00100362[ \t]+b \.S2 b4
+[0-9a-f]+[048c] <[^>]*> 000c0362[ \t]+b \.S2 b3
[0-9a-f]+[048c] <[^>]*> 60101362[ \t]+\[b2\] b \.S2X a4
[0-9a-f]+[048c] <[^>]*> b0100362[ \t]+\[!a2\] b \.S2 b4
[0-9a-f]+[048c] <[^>]*> 00101362[ \t]+b \.S2X a4
@@ -1565,4 +1566,3 @@ Disassembly of section \.text:
[0-9a-f]+[048c] <[^>]*> 74800042[ \t]+\[!b2\] mvk \.D2 0,b9
[0-9a-f]+[048c] <[^>]*> c5000028[ \t]+\[a0\] mvk \.S1 0,a10
[0-9a-f]+[048c] <[^>]*> 0580002a[ \t]+mvk \.S2 0,b11
-[0-9a-f]+[048c] <[^>]*> 00000000[ \t]+nop 1
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.s b/gas/testsuite/gas/tic6x/insns-c674x.s
index 8accee4509..90a2b6d16f 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.s
+++ b/gas/testsuite/gas/tic6x/insns-c674x.s
@@ -173,6 +173,7 @@ f:
avgu4 .M2 b26,b29,b0
[a2] avgu4 .M2X b3,a6,b9
b .S2 b4
+ b .S2 b3
[b2] b .S2X a4
[!a2] call .S2 b4
call .S2X a4