aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m68k-opc.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2007-01-04 17:14:50 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2007-01-04 17:14:50 +0000
commitbaee4c9eb00a09d53db7718dbdcb747b8cbafd95 (patch)
tree1f8732691e4953308c22c8ae8fedab3299c44dd4 /opcodes/m68k-opc.c
parent62ac925e42ad66c2faf59bd78e182f822760bb56 (diff)
downloadgdb-baee4c9eb00a09d53db7718dbdcb747b8cbafd95.zip
gdb-baee4c9eb00a09d53db7718dbdcb747b8cbafd95.tar.gz
gdb-baee4c9eb00a09d53db7718dbdcb747b8cbafd95.tar.bz2
gas/testsuite/:
* gas/m68k/cpu32.[sd]: New test. * gas/m68k/all.exp: Run it. opcodes/: * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns.
Diffstat (limited to 'opcodes/m68k-opc.c')
-rw-r--r--opcodes/m68k-opc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/m68k-opc.c b/opcodes/m68k-opc.c
index 2feafc1..51b62d4 100644
--- a/opcodes/m68k-opc.c
+++ b/opcodes/m68k-opc.c
@@ -2151,8 +2151,8 @@ const struct m68k_opcode m68k_opcodes[] =
two(0177770,0107770), "DsD3D1", cpu32 }
#define TBL(name1, name2, name3, s, r) \
TBL1(name1, 4, s, r, 0), TBL1(name2, 4, s, r, 1), TBL1(name3, 4, s, r, 2)
-TBL("tblsb", "tblsw", "tblsl", 2, 1),
-TBL("tblsnb", "tblsnw", "tblsnl", 2, 0),
+TBL("tblsb", "tblsw", "tblsl", 1, 1),
+TBL("tblsnb", "tblsnw", "tblsnl", 1, 0),
TBL("tblub", "tbluw", "tblul", 0, 1),
TBL("tblunb", "tblunw", "tblunl", 0, 0),