From 7452b91e1255d9142f51fd65704be1c740a36954 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Wed, 29 Sep 2010 10:14:02 +0000 Subject: [PATCH] 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/ChangeLog | 4 ++++ include/opcode/tic6x-control-registers.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 97f3d44c0..f94becd94 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2010-09-29 Bernd Schmidt + + * opcode/tic6x-control-registers.h (tscl): Now read_write. + 2010-09-27 Andreas Krebbel * opcode/s390.h: Add S390_OPCODE_Z196 to enum s390_opcode_cpu_val. 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)