2009-02-27 H.J. Lu <hongjiu.lu@intel.com>

* i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
This commit is contained in:
H.J. Lu 2009-02-27 20:13:04 +00:00
parent 0602e05a84
commit d6f574e0ed
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2009-02-27 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_EX): Call OP_E_memory instead of OP_E.
2009-02-26 Peter Bergner <bergner@vnet.ibm.com>
* ppc-dis.c (powerpc_init_dialect): Extend -Mpower7 to disassemble

View File

@ -12676,11 +12676,17 @@ static void
OP_EX (int bytemode, int sizeflag)
{
int add;
/* Skip mod/rm byte. */
MODRM_CHECK;
codep++;
if (modrm.mod != 3)
{
OP_E (bytemode, sizeflag);
OP_E_memory (bytemode, sizeflag, 0);
return;
}
USED_REX (REX_B);
if (rex & REX_B)
add = 8;
@ -12693,9 +12699,6 @@ OP_EX (int bytemode, int sizeflag)
|| bytemode == q_swap_mode))
swap_operand ();
/* Skip mod/rm byte. */
MODRM_CHECK;
codep++;
if (need_vex
&& bytemode != xmm_mode
&& bytemode != xmmq_mode)