]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.md (lround<X87MODEF:mode><SWI248x:mode>2, [...]): Use operands[N] instead of...
authorUros Bizjak <ubizjak@gmail.com>
Thu, 3 Nov 2011 20:05:09 +0000 (21:05 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 3 Nov 2011 20:05:09 +0000 (21:05 +0100)
* config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2,
rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2,
btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN.

From-SVN: r180841

gcc/ChangeLog
gcc/config/i386/i386.md

index b76c10320ef429f9fcbaed2c61d34a398eae4ae5..a046cffa19ae60782f8a5676ba80b99f9ce27c4a 100644 (file)
@@ -1,3 +1,9 @@
+2011-11-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (lround<X87MODEF:mode><SWI248x:mode>2,
+       rint<mode>2, floor<mode>2, lfloor<MODEF:mode><SWI48:mode>2,
+       btrunc<mode>2, lwp_lwpval<mode>3): Use operands[N] instead of operandN.
+
 2011-11-02  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR target/50945
index cfacea4d93d24b8fbbb8c1742ad14418f7ee9499..f25a97b3ff83e4571727fab4a85a46abe08f89fd 100644 (file)
        emit_insn (gen_sse4_1_round<mode>2
                   (operands[0], operands[1], GEN_INT (0x04)));
       else
-       ix86_expand_rint (operand0, operand1);
+       ix86_expand_rint (operands[0], operands[1]);
     }
   else
     {
   if (optimize_insn_for_size_p ())
     FAIL;
   if (TARGET_64BIT || (<MODE>mode != DFmode))
-    ix86_expand_round (operand0, operand1);
+    ix86_expand_round (operands[0], operands[1]);
   else
-    ix86_expand_rounddf_32 (operand0, operand1);
+    ix86_expand_rounddf_32 (operands[0], operands[1]);
   DONE;
 })
 
 {
   if (optimize_insn_for_size_p ())
     FAIL;
-  ix86_expand_lround (operand0, operand1);
+  ix86_expand_lround (operands[0], operands[1]);
   DONE;
 })
 
        emit_insn (gen_sse4_1_round<mode>2
                   (operands[0], operands[1], GEN_INT (0x01)));
       else if (TARGET_64BIT || (<MODE>mode != DFmode))
-       ix86_expand_floorceil (operand0, operand1, true);
+       ix86_expand_floorceil (operands[0], operands[1], true);
       else
-       ix86_expand_floorceildf_32 (operand0, operand1, true);
+       ix86_expand_floorceildf_32 (operands[0], operands[1], true);
     }
   else
     {
 {
   if (TARGET_64BIT && optimize_insn_for_size_p ())
     FAIL;
-  ix86_expand_lfloorceil (operand0, operand1, true);
+  ix86_expand_lfloorceil (operands[0], operands[1], true);
   DONE;
 })
 
       else if (optimize_insn_for_size_p ())
        FAIL;
       else if (TARGET_64BIT || (<MODE>mode != DFmode))
-       ix86_expand_floorceil (operand0, operand1, false);
+       ix86_expand_floorceil (operands[0], operands[1], false);
       else
-       ix86_expand_floorceildf_32 (operand0, operand1, false);
+       ix86_expand_floorceildf_32 (operands[0], operands[1], false);
     }
   else
     {
   "SSE_FLOAT_MODE_P (<MODEF:MODE>mode) && TARGET_SSE_MATH
    && !flag_trapping_math"
 {
-  ix86_expand_lfloorceil (operand0, operand1, false);
+  ix86_expand_lfloorceil (operands[0], operands[1], false);
   DONE;
 })
 
       else if (optimize_insn_for_size_p ())
        FAIL;
       else if (TARGET_64BIT || (<MODE>mode != DFmode))
-       ix86_expand_trunc (operand0, operand1);
+       ix86_expand_trunc (operands[0], operands[1]);
       else
-       ix86_expand_truncdf_32 (operand0, operand1);
+       ix86_expand_truncdf_32 (operands[0], operands[1]);
     }
   else
     {
                     (match_operand:SI 3 "const_int_operand" "i")]
                    UNSPECV_LWPVAL_INTRINSIC)]
   "TARGET_LWP"
-  "/* Avoid unused variable warning.  */
-   (void) operand0;")
+  ;; Avoid unused variable warning.
+  "(void) operands[0];")
 
 (define_insn "*lwp_lwpval<mode>3_1"
   [(unspec_volatile [(match_operand:SWI48 0 "register_operand" "r")