diff options
author | Bernd Schmidt <bernds@codesourcery.com> | 2010-09-29 10:14:02 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@codesourcery.com> | 2010-09-29 10:14:02 +0000 |
commit | bb73df25a83c1040ab448374bf8820175b595f73 (patch) | |
tree | 53f44fe5121afeb39ecbc908b68eb425f182da2e /gas/testsuite | |
parent | f902251074864acdf48800c311d2a90690f30bbf (diff) | |
download | gdb-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/testsuite')
-rw-r--r-- | gas/testsuite/gas/tic6x/insns-bad-1.l | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/insns-bad-1.s | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/insns-c674x.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/tic6x/insns-c674x.s | 5 |
4 files changed, 8 insertions, 6 deletions
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 |