From: H.J. Lu Date: Fri, 5 Nov 2004 23:14:30 +0000 (+0000) Subject: 2004-11-05 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcb9eebe75387c4e39f15cf8d23c8cff0d508e9f;p=binutils-gdb.git 2004-11-05 H.J. Lu * i386.h (i386_optab): Put back "movzb". --- diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 1d790637b06..b79f68c1df1 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,7 @@ +2004-11-05 H.J. Lu + + * i386.h (i386_optab): Put back "movzb". + 2004-11-04 Hans-Peter Nilsson * cris.h (enum cris_insn_version_usage): Tweak formatting and diff --git a/include/opcode/i386.h b/include/opcode/i386.h index cf9560818cc..fc2f5f0b557 100644 --- a/include/opcode/i386.h +++ b/include/opcode/i386.h @@ -127,7 +127,9 @@ static const template i386_optab[] = {"movsx", 2, 0x0fbf, X, Cpu386, w_Suf|Modrm, { Reg16|ShortMem, Reg32|Reg64, 0} }, {"movsx", 2, 0x63, X, Cpu64, l_Suf|Modrm|Rex64, { Reg32|WordMem, Reg64, 0} }, -/* Move with zero extend. */ +/* Move with zero extend. We can't remove "movzb" since existing + assembly codes may use it. */ +{"movzb", 2, 0x0fb6, X, Cpu386, wl_Suf|Modrm, { Reg8|ByteMem, WordReg, 0} }, /* "movzbl" & "movzbw" should not be unified into "movzb" for consistency with the sign extending moves above. */ {"movzbl", 2, 0x0fb6, X, Cpu386, NoSuf|Modrm, { Reg8|ByteMem, Reg32, 0} },