Replace REX_INT_REG_P with REX_INT_REGNO_P
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 6 Nov 2012 00:07:47 +0000 (00:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 6 Nov 2012 00:07:47 +0000 (16:07 -0800)
* config/i386/i386.c (print_reg): Replace REX_INT_REG_P with
REX_INT_REGNO_P.

From-SVN: r193197

gcc/ChangeLog
gcc/config/i386/i386.c

index 5fab821eb76e70c05b2af71bf506ca1dc26a6705..c497a529d8ba299147ed0c603c14d964555ee4ba 100644 (file)
@@ -1,3 +1,8 @@
+2012-11-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (print_reg): Replace REX_INT_REG_P with
+       REX_INT_REGNO_P.
+
 2012-11-05  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR tree-optimization/54986
index 2066b894be976d7eaa338d49ce3f88d51c18302c..62f380fcd6d8fbdd432bef59a194b6c4c594faa0 100644 (file)
@@ -14119,7 +14119,7 @@ print_reg (rtx x, int code, FILE *file)
 
   /* Irritatingly, AMD extended registers use different naming convention
      from the normal registers: "r%d[bwd]"  */
-  if (REX_INT_REG_P (x))
+  if (REX_INT_REGNO_P (regno))
     {
       gcc_assert (TARGET_64BIT);
       putc ('r', file);