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 | 7452b91e1255d9142f51fd65704be1c740a36954 (patch) | |
tree | 8799b440ca12d83a5c9d9eff5b3a5605d7acca19 /include/opcode/tic6x-control-registers.h | |
parent | f95f18c95007ce24daad56615f911b88414bf748 (diff) | |
download | cygnal-7452b91e1255d9142f51fd65704be1c740a36954.tar.gz cygnal-7452b91e1255d9142f51fd65704be1c740a36954.tar.bz2 cygnal-7452b91e1255d9142f51fd65704be1c740a36954.zip |
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/tic6x-control-registers.h')
-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 e237f06ba..b4387779a 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) |