From: H.J. Lu Date: Thu, 9 Sep 2010 21:12:37 +0000 (+0000) Subject: Check VEXW1 for 2-byte VEX prefix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04251de09501ffd2b2f88177a09e47e01b84acc3;p=binutils-gdb.git Check VEXW1 for 2-byte VEX prefix. 2010-09-09 H.J. Lu * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte VEX prefix. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2c962951be4..f0b70be4c43 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2010-09-09 H.J. Lu + + * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte + VEX prefix. + 2010-09-09 Joseph Myers * doc/c-tic6x.texi (.c6xabi_attribute): Document directive. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 9488ac933e1..ee3470e48a2 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -2803,6 +2803,7 @@ build_vex_prefix (const insn_template *t) /* Use 2-byte VEX prefix if possible. */ if (i.tm.opcode_modifier.vexopcode == VEX0F + && i.tm.opcode_modifier.vexw != VEXW1 && (i.rex & (REX_W | REX_X | REX_B)) == 0) { /* 2-byte VEX prefix. */