From baee4c9eb00a09d53db7718dbdcb747b8cbafd95 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 4 Jan 2007 17:14:50 +0000 Subject: 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. --- opcodes/ChangeLog | 4 ++++ opcodes/m68k-opc.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'opcodes') diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index f5cb698..d398506 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2007-01-04 Andreas Schwab + + * m68k-opc.c: Fix encoding of signed bit in the cpu32 tbls insns. + 2007-01-04 Julian Brown * arm-dis.c (neon_opcode): Fix disassembly for vshl, vqshl, vrshl, 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), -- cgit v1.1