summaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2007-02-12 04:51:40 +0000
committerH.J. Lu <hjl@lucon.org>2007-02-12 04:51:40 +0000
commit62050c3a3ec68c21f71359ed5b24de3305646c42 (patch)
treeda3df56f46d19f519f8de9b5fb9e4e8731959028 /include/opcode
parent3480c14cc90d59daa1f44b2601a1bb9e984ed37d (diff)
downloadgdb-62050c3a3ec68c21f71359ed5b24de3305646c42.tar.gz
gas/testsuite/
2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * gas/i386/opcode.s: Add more tests for "test". * i386/opcode-intel.d: Updated. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/opcode.d: Likewise. include/opcode/ 2007-02-11 H.J. Lu <hongjiu.lu@intel.com> PR gas/4027 * i386.h (i386_optab): Put the real "test" before the pseudo one.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog6
-rw-r--r--include/opcode/i386.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index a0b321f0906..300a8641a96 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR gas/4027
+ * i386.h (i386_optab): Put the real "test" before the pseudo
+ one.
+
2007-01-08 Kazu Hirata <kazu@codesourcery.com>
* m68k.h (m68010up): OR fido_a.
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index 3e91aa0e410..97e3761c9bb 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -251,8 +251,8 @@ static const template i386_optab[] =
{"cmp", 2, 0x3c, X, 0, bwlq_Suf|W, { EncImm, Acc, 0} },
{"cmp", 2, 0x80, 7, 0, bwlq_Suf|W|Modrm, { EncImm, Reg|AnyMem, 0} },
-{"test", 2, 0x84, X, 0, bwlq_Suf|W|Modrm, { Reg|AnyMem, Reg, 0} },
{"test", 2, 0x84, X, 0, bwlq_Suf|W|Modrm, { Reg, Reg|AnyMem, 0} },
+{"test", 2, 0x84, X, 0, bwlq_Suf|W|Modrm, { AnyMem, Reg, 0} },
{"test", 2, 0xa8, X, 0, bwlq_Suf|W, { EncImm, Acc, 0} },
{"test", 2, 0xf6, 0, 0, bwlq_Suf|W|Modrm, { EncImm, Reg|AnyMem, 0} },