aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-12 09:52:40 +0000
committerAlan Modra <amodra@gmail.com>2001-05-12 09:52:40 +0000
commit67d6227df7d05de4d981e320b721db494f39a6db (patch)
tree16584de58b6a19ae6acb1aa2a7e70f096b27da7c /opcodes
parentf8e42d245c3e02f82cab3a45a577230277cac422 (diff)
downloadgdb-67d6227df7d05de4d981e320b721db494f39a6db.zip
gdb-67d6227df7d05de4d981e320b721db494f39a6db.tar.gz
gdb-67d6227df7d05de4d981e320b721db494f39a6db.tar.bz2
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 d390515..b4f61fc 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 005a12c..f1d9e14 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 },
},