gas/ChangeLog:
authorMark Kettenis <kettenis@gnu.org>
Mon, 18 Apr 2005 20:59:20 +0000 (20:59 +0000)
committerMark Kettenis <kettenis@gnu.org>
Mon, 18 Apr 2005 20:59:20 +0000 (20:59 +0000)
* config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
include/opcode/ChangeLog:
* i386.h: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.  Provide aliases without hyphens.
opcodes/ChangeLog:
* i386-dis.c: Insert hyphens into selected VIA PadLock extensions.
Add xcrypt-ctr.

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

index 062b47f436a128c8fb1521c22d3a0c0ffa62c9c5..3e0db6d6d7f34a0c642acf211f6e24f9f7d358d9 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/tc-i386.c (md_begin): Allow hyphens in mnemonics.
+
 2005-04-18  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * config/tc-mips.c (normalize_constant_expr): Don't check for
index 6aeb827a19af7c65213406cf9d7cb9024e741420..4defd015cc8f35e7f015305796b617bf49bc7a1b 100644 (file)
@@ -1008,6 +1008,7 @@ md_begin ()
     operand_chars['?'] = '?';
 #endif
     digit_chars['-'] = '-';
+    mnemonic_chars['-'] = '-';
     identifier_chars['_'] = '_';
     identifier_chars['.'] = '.';
 
index d632148aedf57cbaee2e3b90c55ee90381708f79..1231bc1f49030cb0bafe9e24ff8bedec501c9c01 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386.h: Insert hyphens into selected VIA PadLock extensions.
+       Add xcrypt-ctr.  Provide aliases without hyphens.
+
 2005-04-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        Moved from ../ChangeLog
index 240acb9cb1cc1cce994548cd38efaa2aba0b3108..a64ba4a79d0fcd1179b98afb4a05b283c75a0cdc 100644 (file)
@@ -1378,15 +1378,23 @@ static const template i386_optab[] =
 {"rdtscp",   0, 0x0f01, 0xf9, CpuSledgehammer,NoSuf|ImmExt,    { 0, 0, 0} },
 
 /* VIA PadLock extensions.  */
+{"xstore-rng",0, 0x000fa7, 0xc0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcrypt-ecb",0, 0xf30fa7, 0xc8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcrypt-cbc",0, 0xf30fa7, 0xd0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcrypt-ctr",0, 0xf30fa7, 0xd8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcrypt-cfb",0, 0xf30fa7, 0xe0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcrypt-ofb",0, 0xf30fa7, 0xe8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"montmul",   0, 0xf30fa6, 0xc0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xsha1",     0, 0xf30fa6, 0xc8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xsha256",   0, 0xf30fa6, 0xd0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+/* Aliases without hyphens.  */
 {"xstorerng", 0, 0x000fa7, 0xc0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
 {"xcryptecb", 0, 0xf30fa7, 0xc8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
 {"xcryptcbc", 0, 0xf30fa7, 0xd0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
+{"xcryptctr", 0, 0xf30fa7, 0xd8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
 {"xcryptcfb", 0, 0xf30fa7, 0xe0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
 {"xcryptofb", 0, 0xf30fa7, 0xe8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
-{"montmul",   0, 0xf30fa6, 0xc0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
-{"xsha1",     0, 0xf30fa6, 0xc8, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
-{"xsha256",   0, 0xf30fa6, 0xd0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
-/* Alias for xstorerng.  */
+/* Alias for xstore-rng.  */
 {"xstore",    0, 0x000fa7, 0xc0, Cpu686|CpuPadLock, NoSuf|IsString|ImmExt, { 0, 0, 0} },
 
 /* sentinel */
index 7a2752595f0f44f3d88e30d1f4cacaf8149ac67a..98171b89d5b7d45ae796a333b7d25c31a0a94163 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-18  Mark Kettenis  <kettenis@gnu.org>
+
+       * i386-dis.c: Insert hyphens into selected VIA PadLock extensions.
+       Add xcrypt-ctr.
+
 2005-04-14  Nick Clifton  <nickc@redhat.com>
 
        * po/fi.po: New translation: Finnish.
index d3acb84138f5ead4509e4ddb2b3a1afe2416c6f1..24620d0ef0bffc69b1fec1c2cfa6cb1343fc4796 100644 (file)
@@ -1469,14 +1469,14 @@ static const struct dis386 grps[][8] = {
   },
   /* GRPPADLCK1 */
   {
-    { "xstorerng", OP_0f07, 0, XX, XX },
-    { "xcryptecb", OP_0f07, 0, XX, XX },
-    { "xcryptcbc", OP_0f07, 0, XX, XX },
-    { "(bad)",    OP_0f07, 0, XX, XX },
-    { "xcryptcfb", OP_0f07, 0, XX, XX },
-    { "xcryptofb", OP_0f07, 0, XX, XX },
-    { "(bad)",    OP_0f07, 0, XX, XX },
-    { "(bad)",    OP_0f07, 0, XX, XX },
+    { "xstore-rng", OP_0f07, 0, XX, XX },
+    { "xcrypt-ecb", OP_0f07, 0, XX, XX },
+    { "xcrypt-cbc", OP_0f07, 0, XX, XX },
+    { "xcrypt-ctr", OP_0f07, 0, XX, XX },
+    { "xcrypt-cfb", OP_0f07, 0, XX, XX },
+    { "xcrypt-ofb", OP_0f07, 0, XX, XX },
+    { "(bad)", OP_0f07, 0, XX, XX },
+    { "(bad)", OP_0f07, 0, XX, XX },
   },
   /* GRPPADLCK2 */
   {