summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-05-12 09:52:39 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-05-12 09:52:39 +0000
commitf03239f50d170c8a4e94eb22d75878de9c653889 (patch)
tree0848a15b07d206a854a7ad17f82c0f5a726325c1 /opcodes
parent9383c307f709ac6e4a931b48ca75919f733262e0 (diff)
downloadgdb-f03239f50d170c8a4e94eb22d75878de9c653889.tar.gz
Correct cvtps2dq, movdq2q, movq2dq, and movq problems.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index d39051533a0..b4f61fc4ce7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2001-05-12 Alan Modra <amodra@one.net.au>
+
+ * i386-dis.c (prefix_user_table): Correct movq2dq, movdq2q, and
+ movq operands.
+
2001-05-07 Frank Ch. Eigler <fche@redhat.com>
* cgen-dis.in (default_print_insn): Tolerate min<base instructions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 005a12cc9ad..f1d9e140559 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -2716,9 +2716,9 @@ static const struct dis386 prefix_user_table[][4] = {
/* PREGRP21 */
{
{ "(bad)", EX, XM, XX },
- { "movq2dq", EX, EM, XX },
+ { "movq2dq", XM, MS, XX },
{ "movq", EX, XM, XX },
- { "movdq2q", EM, MX, XX },
+ { "movdq2q", MX, XS, XX },
},
/* PREGRP22 */
{
@@ -2730,7 +2730,7 @@ static const struct dis386 prefix_user_table[][4] = {
/* PREGRP23 */
{
{ "movd", Ed, MX, XX },
- { "movq", Ed, XM, XX },
+ { "movq", XM, EX, XX },
{ "movd", Ed, XM, XX },
{ "(bad)", Ed, XM, XX },
},