gas/
authorJan Beulich <jbeulich@novell.com>
Mon, 9 May 2005 06:49:01 +0000 (06:49 +0000)
committerJan Beulich <jbeulich@novell.com>
Mon, 9 May 2005 06:49:01 +0000 (06:49 +0000)
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (parse_insn): Disallow use of prefix separator
and comma in Intel mode.

include/opcode/
2005-05-09  Jan Beulich  <jbeulich@novell.com>

* i386.h (i386_optab): Add ht and hnt.

gas/ChangeLog
gas/config/tc-i386.c
include/opcode/ChangeLog
include/opcode/i386.h

index a8cca7f626f43e9b8213ba9afb4924c373f0a8fc..cf43685815332fc5bf6b2beee062fb1841fea106 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-09  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (parse_insn): Disallow use of prefix separator
+       and comma in Intel mode.
+
 2005-05-09  Jan Beulich  <jbeulich@novell.com>
 
        * config/tc-i386.c (tc_x86_regname_to_dw2regnum): Correct 64-bit mode
index be4d814ce77e76ca161a706f6fc66c02e923b55a..baf3583ca1134fb1f334219a75f584e956fa24c1 100644 (file)
@@ -1606,8 +1606,9 @@ parse_insn (line, mnemonic)
        }
       if (!is_space_char (*l)
          && *l != END_OF_INSN
-         && *l != PREFIX_SEPARATOR
-         && *l != ',')
+         && (intel_syntax
+             || (*l != PREFIX_SEPARATOR
+                 && *l != ',')))
        {
          as_bad (_("invalid character %s in mnemonic"),
                  output_invalid (*l));
@@ -1615,7 +1616,7 @@ parse_insn (line, mnemonic)
        }
       if (token_start == l)
        {
-         if (*l == PREFIX_SEPARATOR)
+         if (!intel_syntax && *l == PREFIX_SEPARATOR)
            as_bad (_("expecting prefix; got nothing"));
          else
            as_bad (_("expecting mnemonic; got nothing"));
index 1231bc1f49030cb0bafe9e24ff8bedec501c9c01..bb3763fb03dfe8abd2a8507a1a5ccfd614ed97b8 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-09  Jan Beulich  <jbeulich@novell.com>
+
+       * i386.h (i386_optab): Add ht and hnt.
+
 2005-04-18  Mark Kettenis  <kettenis@gnu.org>
 
        * i386.h: Insert hyphens into selected VIA PadLock extensions.
index a64ba4a79d0fcd1179b98afb4a05b283c75a0cdc..2b8c8b522cd0a678eee350ec9a34380153f1414c 100644 (file)
@@ -876,6 +876,8 @@ static const template i386_optab[] =
 {"repz",   0,  0xf3, X, 0,      NoSuf|IsPrefix,        { 0, 0, 0} },
 {"repne",  0,  0xf2, X, 0,      NoSuf|IsPrefix,        { 0, 0, 0} },
 {"repnz",  0,  0xf2, X, 0,      NoSuf|IsPrefix,        { 0, 0, 0} },
+{"ht",    0,   0x3e, X, 0,      NoSuf|IsPrefix,        { 0, 0, 0} },
+{"hnt",           0,   0x2e, X, 0,      NoSuf|IsPrefix,        { 0, 0, 0} },
 {"rex",    0,  0x40, X, Cpu64,  NoSuf|IsPrefix,        { 0, 0, 0} },
 {"rexz",   0,  0x41, X, Cpu64,  NoSuf|IsPrefix,        { 0, 0, 0} },
 {"rexy",   0,  0x42, X, Cpu64,  NoSuf|IsPrefix,        { 0, 0, 0} },
This page took 0.032485 seconds and 4 git commands to generate.