aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
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. */