diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-10-13 18:44:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-10-13 18:44:19 +0000 |
commit | 55b126d49cd449155a9057c7212d0b2e74bab465 (patch) | |
tree | dff5559e21dbfbf744a0ecc895da5b36511d0f14 /opcodes | |
parent | ec65d7cafac333dd31d5035ee7cbf37876594dca (diff) | |
download | binutils-55b126d49cd449155a9057c7212d0b2e74bab465.zip binutils-55b126d49cd449155a9057c7212d0b2e74bab465.tar.gz binutils-55b126d49cd449155a9057c7212d0b2e74bab465.tar.bz2 |
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.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 9 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 7 |
2 files changed, 11 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 1761067..cd106d4 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -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> diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index e6b8049..de0a8e8 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -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) { |