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 /include/opcode | |
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 'include/opcode')
-rw-r--r-- | include/opcode/tic6x-control-registers.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/opcode/tic6x-control-registers.h b/include/opcode/tic6x-control-registers.h index e237f06..b438777 100644 --- a/include/opcode/tic6x-control-registers.h +++ b/include/opcode/tic6x-control-registers.h @@ -50,5 +50,7 @@ CTRL(rep, C64XP, read_write, 0xf, 0x1f) CTRL(rilc, C64XP, read_write, 0xe, 0x1f) CTRL(ssr, C64XP, read_write, 0x15, 0x1f) CTRL(tsch, C64XP, read, 0xb, 0x1f) -CTRL(tscl, C64XP, read, 0xa, 0x1f) +/* Contrary to Table 3-26 in SPRUFE8, this register is read-write, as + documented in section 2.9.13. */ +CTRL(tscl, C64XP, read_write, 0xa, 0x1f) CTRL(tsr, C64XP, read_write, 0x1a, 0x1f) |