From 79010c3b34104a2b38970e3af13910ea0308bcdc Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 12 Feb 2007 04:51:40 +0000 Subject: [PATCH] gas/testsuite/ 2007-02-11 H.J. Lu 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 PR gas/4027 * i386.h (i386_optab): Put the real "test" before the pseudo one. --- include/opcode/ChangeLog | 6 ++++++ include/opcode/i386.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index a0b321f09..300a8641a 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,9 @@ +2007-02-11 H.J. Lu + + PR gas/4027 + * i386.h (i386_optab): Put the real "test" before the pseudo + one. + 2007-01-08 Kazu Hirata * m68k.h (m68010up): OR fido_a. diff --git a/include/opcode/i386.h b/include/opcode/i386.h index 3e91aa0e4..97e3761c9 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} },