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 5c80961..67161df 100644 (file)
@@ -1,5 +1,10 @@
 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.
 
 2009-02-23  H.J. Lu  <hongjiu.lu@intel.com>
index cb78e55..e780759 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);