This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Always clear need_vex, need_vex_reg and vex_w_done
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 13 Oct 2009 11:43:39 -0700
- Subject: PATCH: Always clear need_vex, need_vex_reg and vex_w_done
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
I am checking in this patch to always clear need_vex, need_vex_reg and
vex_w_done.
H.J.
---
Index: ChangeLog
===================================================================
--- ChangeLog (revision 7135)
+++ ChangeLog (working copy)
@@ -1,8 +1,13 @@
+2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
+ and vex_w_done.
+
2009-10-07 Michael Eager <eager@eagercon.com>
- * opcodes/microblaze-dis.c: Add include for microblaze-dis.h,
+ * microblaze-dis.c: Add include for microblaze-dis.h,
eliminate local extern decls.
- * opcodes/microblaze-dis.h: New.
+ * microblaze-dis.h: New.
2009-10-06 Nick Clifton <nickc@redhat.com>
Index: i386-dis.c
===================================================================
--- i386-dis.c (revision 7135)
+++ i386-dis.c (working copy)
@@ -9687,15 +9687,16 @@ print_insn (bfd_vma pc, disassemble_info
modrm.rm = *codep & 7;
}
+ need_vex = 0;
+ need_vex_reg = 0;
+ vex_w_done = 0;
+
if (dp->name == NULL && dp->op[0].bytemode == FLOATCODE)
{
dofloat (sizeflag);
}
else
{
- need_vex = 0;
- need_vex_reg = 0;
- vex_w_done = 0;
dp = get_valid_dis386 (dp, info);
if (dp != NULL && putop (dp->name, sizeflag) == 0)
{