This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Check VEXW1 for 2-byte VEX prefix


Hi,

I checked in this patch to check VEXW1 for 2-byte VEX prefix.


H.J.
---
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.4248
diff -u -p -r1.4248 ChangeLog
--- ChangeLog	9 Sep 2010 20:56:12 -0000	1.4248
+++ ChangeLog	9 Sep 2010 21:12:13 -0000
@@ -1,3 +1,8 @@
+2010-09-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
+	VEX prefix.
+
 2010-09-09  Joseph Myers  <joseph@codesourcery.com>
 
 	* doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
Index: config/tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.448
diff -u -p -r1.448 tc-i386.c
--- config/tc-i386.c	3 Sep 2010 17:38:37 -0000	1.448
+++ config/tc-i386.c	9 Sep 2010 21:12:14 -0000
@@ -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.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]