From 0349dc08b2c0437dba8e96ccd583e4f8a81cf51e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 23 Feb 2009 23:05:21 +0000 Subject: [PATCH] 2009-02-23 H.J. Lu * config/tc-i386.c (type_names): Add OPERAND_TYPE_REGYMM. (pt): Replace UINTS_ALL_ZERO with operand_type_all_zero. --- gas/ChangeLog | 5 +++++ gas/config/tc-i386.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 5c80961fc89..67161df6bb7 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-02-23 H.J. Lu + + * 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 * config/tc-i386.c (type_names): Remove OPERAND_TYPE_VEX_IMM4. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index cb78e55a01f..e7807596b7d 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); -- 2.30.2