PATCH: Add OPERAND_TYPE_REGYMM
H.J. Lu
hongjiu.lu@intel.com
Mon Feb 23 23:04:00 GMT 2009
Hi,
I am checking in this patch to add OPERAND_TYPE_REGYMM and replace
UINTS_ALL_ZERO with operand_type_all_zero.
H.J.
---
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.3742
diff -u -p -r1.3742 ChangeLog
--- ChangeLog 23 Feb 2009 22:28:45 -0000 1.3742
+++ ChangeLog 23 Feb 2009 23:03:50 -0000
@@ -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: config/tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.366
diff -u -p -r1.366 tc-i386.c
--- config/tc-i386.c 23 Feb 2009 22:28:45 -0000 1.366
+++ config/tc-i386.c 23 Feb 2009 23:03:50 -0000
@@ -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);
More information about the Binutils
mailing list