From e3c9eeaf79e37f8653eab2b6184c143da8e4303e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 Aug 2000 17:29:23 +0000 Subject: 2000-08-15 H.J. Lu * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the IgnoreSize change. --- include/opcode/ChangeLog | 5 +++++ include/opcode/i386.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index c5c067452..ec6697770 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2000-08-15 H.J. Lu + + * i386.h: Swap the Intel syntax "movsx"/"movzx" due to the + IgnoreSize change. + 2000-07-29 Marek Michalkiewicz * avr.h (AVR_UNDEF_P, AVR_SKIP_P, AVR_DISP0_P): New macros. diff --git a/include/opcode/i386.h b/include/opcode/i386.h index d9c151e45..caef28315 100644 --- a/include/opcode/i386.h +++ b/include/opcode/i386.h @@ -108,15 +108,15 @@ static const template i386_optab[] = { {"movsbw", 2, 0x0fbe, X, Cpu386, NoSuf|Modrm, { Reg8|ByteMem, Reg16, 0} }, {"movswl", 2, 0x0fbf, X, Cpu386, NoSuf|Modrm, { Reg16|ShortMem, Reg32, 0} }, /* Intel Syntax next 2 insns */ -{"movsx", 2, 0x0fbf, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} }, {"movsx", 2, 0x0fbe, X, Cpu386, b_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} }, +{"movsx", 2, 0x0fbf, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} }, /* Move with zero extend. */ {"movzb", 2, 0x0fb6, X, Cpu386, wl_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} }, {"movzwl", 2, 0x0fb7, X, Cpu386, NoSuf|Modrm, { Reg16|ShortMem, Reg32, 0} }, /* Intel Syntax next 2 insns */ -{"movzx", 2, 0x0fb7, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} }, {"movzx", 2, 0x0fb6, X, Cpu386, b_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} }, +{"movzx", 2, 0x0fb7, X, Cpu386, w_Suf|Modrm|IgnoreSize, { Reg16|ShortMem, Reg32, 0} }, /* Push instructions. */ {"push", 1, 0x50, X, 0, wl_Suf|ShortForm|DefaultSize, { WordReg, 0, 0 } }, -- cgit v1.2.3