diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-02-12 04:51:40 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-02-12 04:51:40 +0000 |
commit | fda592e83692dd8fb77b7a5d6c890ce9a430b924 (patch) | |
tree | f317b67b40369d7647009d767ebfd7d9cd3d6b02 /include | |
parent | 2cc005258643802ea295ea5cd2d451898b9c2d03 (diff) | |
download | gdb-fda592e83692dd8fb77b7a5d6c890ce9a430b924.zip gdb-fda592e83692dd8fb77b7a5d6c890ce9a430b924.tar.gz gdb-fda592e83692dd8fb77b7a5d6c890ce9a430b924.tar.bz2 |
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')
-rw-r--r-- | include/opcode/ChangeLog | 6 | ||||
-rw-r--r-- | include/opcode/i386.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index a0b321f..300a864 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 3e91aa0..97e3761 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} }, |