mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-15 05:01:13 +08:00
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (print_insn): Check PREFIX_REPNZ before PREFIX_DATA when prefix user table is used.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* i386-dis.c (print_insn): Check PREFIX_REPNZ before
|
||||||
|
PREFIX_DATA when prefix user table is used.
|
||||||
|
|
||||||
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
2006-11-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
|
* i386-dis.c (twobyte_uses_SSE_prefix): Renamed to ...
|
||||||
|
@ -3139,14 +3139,16 @@ print_insn (bfd_vma pc, disassemble_info *info)
|
|||||||
index = 1;
|
index = 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
used_prefixes |= (prefixes & PREFIX_DATA);
|
/* We should check PREFIX_REPNZ and PREFIX_REPZ
|
||||||
if (prefixes & PREFIX_DATA)
|
before PREFIX_DATA. */
|
||||||
index = 2;
|
used_prefixes |= (prefixes & PREFIX_REPNZ);
|
||||||
|
if (prefixes & PREFIX_REPNZ)
|
||||||
|
index = 3;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
used_prefixes |= (prefixes & PREFIX_REPNZ);
|
used_prefixes |= (prefixes & PREFIX_DATA);
|
||||||
if (prefixes & PREFIX_REPNZ)
|
if (prefixes & PREFIX_DATA)
|
||||||
index = 3;
|
index = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dp = &prefix_user_table[dp->bytemode2][index];
|
dp = &prefix_user_table[dp->bytemode2][index];
|
||||||
|
Reference in New Issue
Block a user