diff options
author | Alan Modra <amodra@gmail.com> | 2001-03-24 06:29:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-03-24 06:29:16 +0000 |
commit | 0f17484fd34e888c8c7bab63a75eb9bc3d7c19cb (patch) | |
tree | cc66879eaa7ef2c4c988b94d92786996316218f6 /opcodes | |
parent | 2adab5d0b27b20bd56853e9b0c9c6a8763699ae2 (diff) | |
download | gdb-0f17484fd34e888c8c7bab63a75eb9bc3d7c19cb.zip gdb-0f17484fd34e888c8c7bab63a75eb9bc3d7c19cb.tar.gz gdb-0f17484fd34e888c8c7bab63a75eb9bc3d7c19cb.tar.bz2 |
Small tweaks to sse2 instructions.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 13 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 34 |
2 files changed, 38 insertions, 9 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 57af53c..fc06372 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,16 @@ +2001-03-24 Alan Modra <alan@linuxcare.com.au> + + * i386-dis.c (PREGRP25): Define. + (dis386_twobyte_att): Use here in place of "movntq" entry. + (dis386_twobyte_intel): Likewise. + (prefix_user_table): Add PREGRP25 entry for "movntq" and "movntdq". + (PREGRP26): Define. + (dis386_twobyte_att): Use here. + (dis386_twobyte_intel): Likewise. + (prefix_user_table): Add PREGRP26 entry for "punpcklqdq". + (prefix_user_table <maskmovdqu>): XM operand, not MX. + (prefix_user_table): Cosmetic changes to "bad" entries. + 2001-03-23 Nick Clifton <nickc@redhat.com> * mips-opc.c: Remove extraneous whitespace. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 399d61c..61ec71e 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -409,6 +409,8 @@ static void BadOp PARAMS ((void)); #define PREGRP22 NULL, NULL, 22, NULL, USE_PREFIX_USER_TABLE, NULL, 0 #define PREGRP23 NULL, NULL, 23, NULL, USE_PREFIX_USER_TABLE, NULL, 0 #define PREGRP24 NULL, NULL, 24, NULL, USE_PREFIX_USER_TABLE, NULL, 0 +#define PREGRP25 NULL, NULL, 25, NULL, USE_PREFIX_USER_TABLE, NULL, 0 +#define PREGRP26 NULL, NULL, 26, NULL, USE_PREFIX_USER_TABLE, NULL, 0 #define FLOATCODE 50 #define FLOAT NULL, NULL, FLOATCODE, NULL, 0, NULL, 0 @@ -1737,7 +1739,7 @@ static const struct dis386 dis386_twobyte_att[] = { { "punpckhwd", MX, EM, XX }, { "punpckhdq", MX, EM, XX }, { "packssdw", MX, EM, XX }, - { "(bad)", XX, XX, XX }, + { PREGRP26 }, { PREGRP24 }, { "movd", MX, Ed, XX }, { PREGRP19 }, @@ -1875,7 +1877,7 @@ static const struct dis386 dis386_twobyte_att[] = { { "pmulhuw", MX, EM, XX }, { "pmulhw", MX, EM, XX }, { PREGRP15 }, - { "movntq", Ev, MX, XX }, + { PREGRP25 }, /* e8 */ { "psubsb", MX, EM, XX }, { "psubsw", MX, EM, XX }, @@ -2029,7 +2031,7 @@ static const struct dis386 dis386_twobyte_intel[] = { { "punpckhwd", MX, EM, XX }, { "punpckhdq", MX, EM, XX }, { "packssdw", MX, EM, XX }, - { "(bad)", XX, XX, XX }, + { PREGRP26 }, { PREGRP24 }, { "movd", MX, Ed, XX }, { PREGRP19 }, @@ -2167,7 +2169,7 @@ static const struct dis386 dis386_twobyte_intel[] = { { "pmulhuw", MX, EM, XX }, { "pmulhw", MX, EM, XX }, { PREGRP15 }, - { "movntq", Ev, MX, XX }, + { PREGRP25 }, /* e8 */ { "psubsb", MX, EM, XX }, { "psubsw", MX, EM, XX }, @@ -2693,7 +2695,7 @@ static const struct dis386 prefix_user_table[][4] = { { { "maskmovq", MX, EM, XX }, { "(bad)", XM, EX, XX }, - { "maskmovdqu", MX, EX, XX }, + { "maskmovdqu", XM, EX, XX }, { "(bad)", XM, EX, XX }, }, /* PREGRP19 */ @@ -2729,14 +2731,28 @@ static const struct dis386 prefix_user_table[][4] = { { "movd", Ed, MX, XX }, { "movq", Ed, XM, XX }, { "movd", Ed, XM, XX }, - { "(bad)", EX, XM, XX }, + { "(bad)", Ed, XM, XX }, }, /* PREGRP24 */ { - { "(bad)", EX, XM, XX }, - { "(bad)", EX, XM, XX }, + { "(bad)", MX, EX, XX }, + { "(bad)", XM, EX, XX }, { "punpckhqdq", XM, EX, XX }, - { "(bad)", EX, XM, XX }, + { "(bad)", XM, EX, XX }, + }, + /* PREGRP25 */ + { + { "movntq", Ev, MX, XX }, + { "(bad)", Ev, XM, XX }, + { "movntdq", Ev, XM, XX }, + { "(bad)", Ev, XM, XX }, + }, + /* PREGRP26 */ + { + { "(bad)", MX, EX, XX }, + { "(bad)", XM, EX, XX }, + { "punpcklqdq", XM, EX, XX }, + { "(bad)", XM, EX, XX }, }, }; |