OSDN Git Service

* config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 2009 13:46:05 +0000 (13:46 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Mar 2009 13:46:05 +0000 (13:46 +0000)
reg_class_contents of FLOAT_REGS into a temporary.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144542 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.h

index 18ebfbf..fdd53c5 100644 (file)
@@ -1,5 +1,10 @@
+2009-03-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (CONDITIONAL_REGISTER_USAGE): Do not copy
+       reg_class_contents of FLOAT_REGS into a temporary.
+
 2009-03-02  Richard Guenther  <rguenther@suse.de>
-            Ira Rosen  <irar@il.ibm.com>
+           Ira Rosen  <irar@il.ibm.com>
 
        PR tree-optimization/39318
        * tree-vect-transform.c (vectorizable_call): Transfer the EH region
index 3149442..f525044 100644 (file)
@@ -933,9 +933,7 @@ do {                                                                        \
       }                                                                        \
     j = PIC_OFFSET_TABLE_REGNUM;                                       \
     if (j != INVALID_REGNUM)                                           \
-      {                                                                        \
-       fixed_regs[j] = call_used_regs[j] = 1;                          \
-      }                                                                        \
+      fixed_regs[j] = call_used_regs[j] = 1;                           \
     if (TARGET_64BIT                                                   \
        && ((cfun && cfun->machine->call_abi == MS_ABI)                 \
            || (!cfun && DEFAULT_ABI == MS_ABI)))                       \
@@ -956,13 +954,9 @@ do {                                                                       \
        if (TEST_HARD_REG_BIT (reg_class_contents[(int)SSE_REGS], i))   \
          fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";     \
     if (! (TARGET_80387 || TARGET_FLOAT_RETURNS_IN_80387))             \
-      {                                                                        \
-       HARD_REG_SET x;                                                 \
-       COPY_HARD_REG_SET (x, reg_class_contents[(int)FLOAT_REGS]);     \
-       for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)                     \
-         if (TEST_HARD_REG_BIT (x, i))                                 \
-           fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";   \
-      }                                                                        \
+      for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)                      \
+       if (TEST_HARD_REG_BIT (reg_class_contents[(int)FLOAT_REGS], i)) \
+         fixed_regs[i] = call_used_regs[i] = 1, reg_names[i] = "";     \
     if (! TARGET_64BIT)                                                        \
       {                                                                        \
        for (i = FIRST_REX_INT_REG; i <= LAST_REX_INT_REG; i++)         \