OSDN Git Service

2009-10-13 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Tue, 13 Oct 2009 18:44:19 +0000 (18:44 +0000)
committerhjl <hjl>
Tue, 13 Oct 2009 18:44:19 +0000 (18:44 +0000)
* i386-dis.c (print_insn): Always clear need_vex, need_vex_reg
and vex_w_done.

opcodes/ChangeLog
opcodes/i386-dis.c

index 1761067..cd106d4 100644 (file)
@@ -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 e6b8049..de0a8e8 100644 (file)
@@ -9687,15 +9687,16 @@ print_insn (bfd_vma pc, disassemble_info *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)
         {