Fix 'pand' MMX instruction opcode (and disassemble).
Crucial assistance from Bill Sommerfeld on port-i386. Fixes bin/6809 by yours truly.
This commit is contained in:
parent
4128f9df1e
commit
94a54434a5
2
gnu/dist/include/opcode/i386.h
vendored
2
gnu/dist/include/opcode/i386.h
vendored
@ -828,7 +828,7 @@ static const template i386_optab[] = {
|
||||
{"paddsw", 2, 0x0fed, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"paddusb", 2, 0x0fdc, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"paddusw", 2, 0x0fdd, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"pand", 2, 0x0fda, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"pand", 2, 0x0fdb, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"pandn", 2, 0x0fdf, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"pcmpeqb", 2, 0x0f74, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
{"pcmpeqw", 2, 0x0f75, _, Modrm, { RegMMX|WordMem, RegMMX, 0 } },
|
||||
|
4
gnu/dist/opcodes/i386-dis.c
vendored
4
gnu/dist/opcodes/i386-dis.c
vendored
@ -734,8 +734,8 @@ static struct dis386 dis386_twobyte[] = {
|
||||
/* d8 */
|
||||
{ "psubusb", MX, EM },
|
||||
{ "psubusw", MX, EM },
|
||||
{ "pand", MX, EM },
|
||||
{ "(bad)" },
|
||||
{ "pand", MX, EM },
|
||||
{ "paddusb", MX, EM },
|
||||
{ "paddusw", MX, EM },
|
||||
{ "(bad)" },
|
||||
@ -809,7 +809,7 @@ static const unsigned char twobyte_has_modrm[256] = {
|
||||
/* a0 */ 0,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1, /* af */
|
||||
/* b0 */ 1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1, /* bf */
|
||||
/* c0 */ 1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0, /* cf */
|
||||
/* d0 */ 0,1,1,1,0,1,0,0,1,1,1,0,1,1,0,1, /* df */
|
||||
/* d0 */ 0,1,1,1,0,1,0,0,1,1,0,1,1,1,0,1, /* df */
|
||||
/* e0 */ 0,1,1,0,0,1,0,0,1,1,0,1,1,1,0,1, /* ef */
|
||||
/* f0 */ 0,1,1,1,0,1,0,0,1,1,1,0,1,1,1,0 /* ff */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user