From 7452b91e1255d9142f51fd65704be1c740a36954 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Wed, 29 Sep 2010 10:14:02 +0000 Subject: 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. --- include/opcode/tic6x-control-registers.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/opcode/tic6x-control-registers.h') 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) -- cgit v1.2.3