2009-02-23 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Feb 2009 23:05:21 +0000 (23:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 23 Feb 2009 23:05:21 +0000 (23:05 +0000)
* config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
(pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.

gas/ChangeLog
gas/config/tc-i386.c

index 5c80961fc899f1ee4b8e938e0413d7368dced0aa..67161df6bb71bdca67be4bf133da56ca452c8368 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM.
+       (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero.
+
 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4.
index cb78e55a01fe781f995eb8b896d3ea7ec896bc8a..e7807596b7d9c4b1ee7db21005880d8392c28c68 100644 (file)
@@ -2328,6 +2328,7 @@ const type_names[] =
   { OPERAND_TYPE_JUMPABSOLUTE, "Jump Absolute" },
   { OPERAND_TYPE_REGMMX, "rMMX" },
   { OPERAND_TYPE_REGXMM, "rXMM" },
+  { OPERAND_TYPE_REGYMM, "rYMM" },
   { OPERAND_TYPE_ESSEG, "es" },
 };
 
@@ -2340,7 +2341,7 @@ pt (i386_operand_type t)
   for (j = 0; j < ARRAY_SIZE (type_names); j++)
     {
       a = operand_type_and (t, type_names[j].mask);
-      if (!UINTS_ALL_ZERO (a))
+      if (!operand_type_all_zero (&a))
        fprintf (stdout, "%s, ",  type_names[j].name);
     }
   fflush (stdout);