aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2010-09-29 10:14:02 +0000
committerBernd Schmidt <bernds@codesourcery.com>2010-09-29 10:14:02 +0000
commitbb73df25a83c1040ab448374bf8820175b595f73 (patch)
tree53f44fe5121afeb39ecbc908b68eb425f182da2e /gas
parentf902251074864acdf48800c311d2a90690f30bbf (diff)
downloadgdb-bb73df25a83c1040ab448374bf8820175b595f73.zip
gdb-bb73df25a83c1040ab448374bf8820175b595f73.tar.gz
gdb-bb73df25a83c1040ab448374bf8820175b595f73.tar.bz2
include/
* opcode/tic6x-control-registers.h (tscl): Now read_write. gas/testsuite/ * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl. * gas/tic6x/insns-bad-1.l: Likewise. * gas/tic6x/insns-c674x.d: Add test for writeable tscl. * gas/tic6x/insns-c674x.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/testsuite/gas/tic6x/insns-bad-1.l1
-rw-r--r--gas/testsuite/gas/tic6x/insns-bad-1.s2
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.d6
-rw-r--r--gas/testsuite/gas/tic6x/insns-c674x.s5
5 files changed, 15 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 62a974b..bafa80f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
+
+ * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
+ * gas/tic6x/insns-bad-1.l: Likewise.
+ * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
+ * gas/tic6x/insns-c674x.s: Likewise.
+
2010-09-29 Alan Modra <amodra@gmail.com>
* expr.c (expr): Correct returned segment value.
diff --git a/gas/testsuite/gas/tic6x/insns-bad-1.l b/gas/testsuite/gas/tic6x/insns-bad-1.l
index 3fca851..95f3f9b 100644
--- a/gas/testsuite/gas/tic6x/insns-bad-1.l
+++ b/gas/testsuite/gas/tic6x/insns-bad-1.l
@@ -867,7 +867,6 @@
[^:]*:854: Error: operand 1 of 'mvc' is write-only
[^:]*:855: Error: operand 2 of 'mvc' is read-only
[^:]*:856: Error: operand 2 of 'mvc' is read-only
-[^:]*:857: Error: operand 2 of 'mvc' is read-only
[^:]*:858: Error: 'mv' instruction not supported on this functional unit
[^:]*:859: Error: too many operands to 'mv'
[^:]*:860: Error: operand 2 of 'mv' on wrong side
diff --git a/gas/testsuite/gas/tic6x/insns-bad-1.s b/gas/testsuite/gas/tic6x/insns-bad-1.s
index 12c20cc..e2e7996 100644
--- a/gas/testsuite/gas/tic6x/insns-bad-1.s
+++ b/gas/testsuite/gas/tic6x/insns-bad-1.s
@@ -854,7 +854,7 @@ f:
mvc .S2 isr,b0
mvc .S2 b0,pce1
mvc .S2 b0,tsch
- mvc .S2 b0,tscl
+
mv .M1 a1,a2
mv .L1 a1,a2,a3
mv .L1 a1,b2
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.d b/gas/testsuite/gas/tic6x/insns-c674x.d
index 9100a71..236086c 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.d
+++ b/gas/testsuite/gas/tic6x/insns-c674x.d
@@ -902,8 +902,9 @@ Disassembly of section \.text:
[0-9a-f]+[048c] <[^>]*> 0ac403a2[ \t]+mvc \.S2 b17,ssr
[0-9a-f]+[048c] <[^>]*> 092c03e2[ \t]+mvc \.S2 tsch,b18
[0-9a-f]+[048c] <[^>]*> 09a803e2[ \t]+mvc \.S2 tscl,b19
-[0-9a-f]+[048c] <[^>]*> 0a6803e2[ \t]+mvc \.S2 tsr,b20
-[0-9a-f]+[048c] <[^>]*> 0d5403a2[ \t]+mvc \.S2 b21,tsr
+[0-9a-f]+[048c] <[^>]*> 055003a2[ \t]+mvc \.S2 b20,tscl
+[0-9a-f]+[048c] <[^>]*> 0ae803e2[ \t]+mvc \.S2 tsr,b21
+[0-9a-f]+[048c] <[^>]*> 0d5803a2[ \t]+mvc \.S2 b22,tsr
[0-9a-f]+[048c] <[^>]*> 0001e3e2[ \t]+mvc \.S2 amr,b0
[0-9a-f]+[048c] <[^>]*> 0005e3e2[ \t]+mvc \.S2 csr,b0
[0-9a-f]+[048c] <[^>]*> 0181e3a2[ \t]+mvc \.S2 b0,icr
@@ -1566,3 +1567,4 @@ 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
+[ \t]*\.\.\.
diff --git a/gas/testsuite/gas/tic6x/insns-c674x.s b/gas/testsuite/gas/tic6x/insns-c674x.s
index 90a2b6d..1d02e7e 100644
--- a/gas/testsuite/gas/tic6x/insns-c674x.s
+++ b/gas/testsuite/gas/tic6x/insns-c674x.s
@@ -899,8 +899,9 @@ f:
mvc .S2 b17,ssr
mvc .S2 tsch,b18
mvc .S2 tscl,b19
- mvc .S2 tsr,b20
- mvc .S2 b21,tsr
+ mvc .S2 b20,tscl
+ mvc .S2 tsr,b21
+ mvc .S2 b22,tsr
.word 0x0001e3e2
.word 0x0005e3e2
.word 0x0181e3a2