* i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
authorAlan Modra <amodra@gmail.com>
Tue, 13 Nov 2001 01:03:55 +0000 (01:03 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 13 Nov 2001 01:03:55 +0000 (01:03 +0000)
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.

include/opcode/ChangeLog
include/opcode/i386.h
opcodes/ChangeLog
opcodes/i386-dis.c

index 78beed77c51f48733405c1bfd9555a9a8632705f..fab2053551bec91536f326a32b3db02ee13794f7 100644 (file)
@@ -1,3 +1,9 @@
+2001-11-13  Zack Weinberg <zack@codesourcery.com>
+           Alan Modra  <amodra@bigpond.net.au>
+
+       * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" to
+       accept WordReg.
+
 2001-11-04  Chris Demetriou  <cgd@broadcom.com>
 
        * mips.h (OPCODE_IS_MEMBER): Remove extra space.
index 38de44aca0a1b837064cc18eedde2f625c035d82..571990e1be9bfade9ff17ebdde47c9272b020873 100644 (file)
@@ -553,9 +553,12 @@ static const template i386_optab[] = {
 
 {"sgdt",   1, 0x0f01, 0, Cpu286, wlq_Suf|Modrm,                { WordMem, 0, 0} },
 {"sidt",   1, 0x0f01, 1, Cpu286, wlq_Suf|Modrm,                { WordMem, 0, 0} },
-{"sldt",   1, 0x0f00, 0, Cpu286, wlq_Suf|Modrm,                { WordReg|WordMem, 0, 0} },
-{"smsw",   1, 0x0f01, 4, Cpu286, wlq_Suf|Modrm,                { WordReg|WordMem, 0, 0} },
-{"str",           1, 0x0f00, 1, Cpu286, w_Suf|Modrm|IgnoreSize,{ Reg16|ShortMem, 0, 0} },
+{"sldt",   1, 0x0f00, 0, Cpu286, wlq_Suf|Modrm,                { WordReg|InvMem, 0, 0} },
+{"sldt",   1, 0x0f00, 0, Cpu286, w_Suf|Modrm|IgnoreSize,{ ShortMem, 0, 0} },
+{"smsw",   1, 0x0f01, 4, Cpu286, wlq_Suf|Modrm,                { WordReg|InvMem, 0, 0} },
+{"smsw",   1, 0x0f01, 4, Cpu286, w_Suf|Modrm|IgnoreSize,{ ShortMem, 0, 0} },
+{"str",           1, 0x0f00, 1, Cpu286, wlq_Suf|Modrm,         { WordReg|InvMem, 0, 0} },
+{"str",           1, 0x0f00, 1, Cpu286, w_Suf|Modrm|IgnoreSize,{ ShortMem, 0, 0} },
 
 {"verr",   1, 0x0f00, 4, Cpu286, w_Suf|Modrm|IgnoreSize,{ Reg16|ShortMem, 0, 0} },
 {"verw",   1, 0x0f00, 5, Cpu286, w_Suf|Modrm|IgnoreSize,{ Reg16|ShortMem, 0, 0} },
index 8ca74e29bf223a9e50a018d5d9e6208902bebc97..1afccaca72be171618e7df076261557f37c392d0 100644 (file)
@@ -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].
index 3eb40c6df7ca9f1f19392ad24b3cdfd29d3e6066..9a16d5263d5702328f6d7fd20d3e668750204587 100644 (file)
@@ -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 },
This page took 0.034651 seconds and 4 git commands to generate.