* i386-dis.c (grps): Don't print the implicit al/ax/eax register

for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
This commit is contained in:
Alan Modra 2001-09-04 01:58:07 +00:00
parent fe6f19de68
commit 8227b51f45
2 changed files with 13 additions and 8 deletions

View file

@ -1,3 +1,8 @@
2001-09-04 Alan Modra <amodra@bigpond.net.au>
* i386-dis.c (grps): Don't print the implicit al/ax/eax register
for opcode 0xf6 or 0xf7 forms of mul, imul, div, idiv insns.
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>

View file

@ -1297,10 +1297,10 @@ static const struct dis386 grps[][8] = {
{ "(bad)", Eb, XX, XX },
{ "notA", Eb, XX, XX },
{ "negA", Eb, XX, XX },
{ "mulB", AL, Eb, XX },
{ "imulB", AL, Eb, XX },
{ "divB", AL, Eb, XX },
{ "idivB", AL, Eb, XX }
{ "mulA", Eb, XX, XX }, /* Don't print the implicit %al register, */
{ "imulA", Eb, XX, XX }, /* to distinguish these opcodes from other */
{ "divA", Eb, XX, XX }, /* mul/imul opcodes. Do the same for div */
{ "idivA", Eb, XX, XX } /* and idiv for consistency. */
},
/* GRP3S */
{
@ -1308,10 +1308,10 @@ static const struct dis386 grps[][8] = {
{ "(bad)", XX, XX, XX },
{ "notQ", Ev, XX, XX },
{ "negQ", Ev, XX, XX },
{ "mulS", eAX, Ev, XX },
{ "imulS", eAX, Ev, XX },
{ "divS", eAX, Ev, XX },
{ "idivS", eAX, Ev, XX },
{ "mulQ", Ev, XX, XX }, /* Don't print the implicit register. */
{ "imulQ", Ev, XX, XX },
{ "divQ", Ev, XX, XX },
{ "idivQ", Ev, XX, XX },
},
/* GRP4 */
{