aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2010-09-29 10:14:02 +0000
committerBernd Schmidt <bernds@codesourcery.com>2010-09-29 10:14:02 +0000
commitbb73df25a83c1040ab448374bf8820175b595f73 (patch)
tree53f44fe5121afeb39ecbc908b68eb425f182da2e /include
parent * gas/all/fwdexp.d, * gas/all/fwdexp.s: New test. (diff)
downloadbinutils-gdb-bb73df25a83c1040ab448374bf8820175b595f73.tar.gz
binutils-gdb-bb73df25a83c1040ab448374bf8820175b595f73.tar.bz2
binutils-gdb-bb73df25a83c1040ab448374bf8820175b595f73.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')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/opcode/tic6x-control-registers.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 97f3d44c0f2..f94becd945e 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-29 Bernd Schmidt <bernds@codesourcery.com>
+
+ * opcode/tic6x-control-registers.h (tscl): Now read_write.
+
2010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* 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 e237f06ba88..b4387779aad 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)