aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-11-13 23:13:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-11-13 23:13:48 +0000
commit2a70cca486d4f175b25db1d484c7c560d14b8216 (patch)
treea68ce845d7b01b7d97c3d519f48491e16f99411b /opcodes/i386-dis.c
parent4e48512954ed27c1c1e1cf873e01f9028dcb2b3b (diff)
downloadgdb-2a70cca486d4f175b25db1d484c7c560d14b8216.zip
gdb-2a70cca486d4f175b25db1d484c7c560d14b8216.tar.gz
gdb-2a70cca486d4f175b25db1d484c7c560d14b8216.tar.bz2
Check rex_ignored.
gas/testsuite/ 2009-11-13 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/rex.s: Add a test for VEX insn. * gas/i386/rex.d: Updated. opcodes/ 2009-11-13 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (print_insn): Check rex_ignored.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 4d71a00..2b5718f 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -10491,7 +10491,7 @@ print_insn (bfd_vma pc, disassemble_info *info)
}
/* Check if the REX prefix used. */
- if ((rex ^ rex_used) == 0)
+ if (rex_ignored == 0 && (rex ^ rex_used) == 0)
all_prefixes[last_rex_prefix] = 0;
/* Check if the SEG prefix used. */