+2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (rex_original): Removed.
+ (ckprefix): Remove rex_original.
+ (print_insn): Update comments.
+
2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Makefile.in: Regenerate.
static int rex;
/* Bits of REX we've already used. */
static int rex_used;
-/* Original REX prefix. */
-static int rex_original;
-/* REX bits in original REX prefix ignored. It may not be the same
- as rex_original since some bits may not be ignored. */
+/* REX bits in original REX prefix ignored. */
static int rex_ignored;
/* Mark parts used in the REX prefix. When we are testing for
empty prefix (for 8bit register REX extension), just mask it
{
int newrex, i, length;
rex = 0;
- rex_original = 0;
rex_ignored = 0;
prefixes = 0;
used_prefixes = 0;
if (*codep != FWAIT_OPCODE)
all_prefixes[i++] = *codep;
rex = newrex;
- rex_original = rex;
codep++;
length++;
}
}
}
- /* Check if the REX prefix used. */
+ /* Check if the REX prefix is used. */
if (rex_ignored == 0 && (rex ^ rex_used) == 0)
all_prefixes[last_rex_prefix] = 0;