summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-11-13 01:03:55 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-11-13 01:03:55 +0000
commit6ff85334b88b4bb1b56b57f3285848abcdd91580 (patch)
treeef386814950afbb2403fe30d2b03f38085519632 /opcodes
parent180dd24f18d9683f5b2ece83f80366678d4948d4 (diff)
downloadgdb-6ff85334b88b4bb1b56b57f3285848abcdd91580.tar.gz
* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
accept WordReg. * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand category instead of Ew.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/i386-dis.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 8ca74e29bf2..1afccaca72b 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2001-11-13 Zack Weinberg <zack@codesourcery.com>
+
+ * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries
+ to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand
+ category instead of Ew.
+
2001-11-12 Niraj Gupta <ngupta@zumanetworks.com>
* m68k-opc.c: Fix definitions of wddata[bwl].
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index 3eb40c6df7c..9a16d5263d5 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -1337,8 +1337,8 @@ static const struct dis386 grps[][8] = {
},
/* GRP6 */
{
- { "sldt", Ew, XX, XX },
- { "str", Ew, XX, XX },
+ { "sldtQ", Ev, XX, XX },
+ { "strQ", Ev, XX, XX },
{ "lldt", Ew, XX, XX },
{ "ltr", Ew, XX, XX },
{ "verr", Ew, XX, XX },
@@ -1352,7 +1352,7 @@ static const struct dis386 grps[][8] = {
{ "sidtQ", M, XX, XX },
{ "lgdtQ", M, XX, XX },
{ "lidtQ", M, XX, XX },
- { "smsw", Ew, XX, XX },
+ { "smswQ", Ev, XX, XX },
{ "(bad)", XX, XX, XX },
{ "lmsw", Ew, XX, XX },
{ "invlpg", Ew, XX, XX },