OSDN Git Service

* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2): Do not
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Aug 2011 07:22:52 +0000 (07:22 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 10 Aug 2011 07:22:52 +0000 (07:22 +0000)
force operands[0] into a register.

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

gcc/config/i386/i386.md

index 784de1a..1b37118 100644 (file)
       && !flag_trapping_math && !flag_rounding_math)
     ix86_expand_lround (operand0, operand1);
   else
       && !flag_trapping_math && !flag_rounding_math)
     ix86_expand_lround (operand0, operand1);
   else
-    {
-      operands[0] = force_reg (<SWI248x:MODE>mode, operands[0]);
-      ix86_emit_i387_round (operands[0], operands[1]);
-    }
+    ix86_emit_i387_round (operands[0], operands[1]);
   DONE;
 })
 
   DONE;
 })