aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-02-23 23:05:21 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-02-23 23:05:21 +0000
commit0349dc08b2c0437dba8e96ccd583e4f8a81cf51e (patch)
tree14821457943bfdb4259a7cdf3d1984bbfc72f5ce /gas
parentc1b80a2afcc0b5440c1e9b374aec2fb968003c1e (diff)
downloadgdb-0349dc08b2c0437dba8e96ccd583e4f8a81cf51e.zip
gdb-0349dc08b2c0437dba8e96ccd583e4f8a81cf51e.tar.gz
gdb-0349dc08b2c0437dba8e96ccd583e4f8a81cf51e.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 5c80961..67161df 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index cb78e55..e780759 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -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);