From fc29466dba8dce550aecf20fb939add6bc72daf0 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 16 Aug 2000 17:29:23 +0000 Subject: [PATCH] 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 c5c06745284..ec669777087 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 d9c151e4537..caef283159b 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 } }, -- 2.30.2