rx.md (cstoresf4): Pass comparison operator to rx_split_fp_compare.
authorNick Clifton <nickc@redhat.com>
Sat, 22 Jan 2011 16:09:52 +0000 (16:09 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Sat, 22 Jan 2011 16:09:52 +0000 (16:09 +0000)
* config/rx/rx.md (cstoresf4): Pass comparison operator to
rx_split_fp_compare.

From-SVN: r169129

gcc/ChangeLog
gcc/config/rx/rx.md

index b0edbea1d047a9a426c83496ec54515826315e8b..4ea250fdb39657b040bac9036eac68209645208c 100644 (file)
@@ -1,3 +1,8 @@
+2011-01-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/rx/rx.md (cstoresf4): Pass comparison operator to
+       rx_split_fp_compare.
+
 2011-01-22  Nick Clifton  <nickc@redhat.com>
 
        * config/rx/rx.md (UNSPEC_CONST): New.
@@ -16,6 +21,7 @@
        (sibcall_value): Likewise.
        (mov<>): FAIL if a constant operand is not legitimate.
        (addsi3_unpsec): New pattern.
+
        * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
        CONSTs.
        (ok_for_max_constant): New function.
index 1ae42cbd235ad1cf4e64891280b18554bb57a84f..11dc1f32ee8aa4c6c50bf7aebfcde50832a25661 100644 (file)
 
   /* If the comparison needs swapping of operands, do that now.
      Do not split the comparison in two yet.  */
-  if (rx_split_fp_compare (GET_CODE (operands[0]), &cmp1, &cmp2))
+  if (rx_split_fp_compare (GET_CODE (operands[1]), &cmp1, &cmp2))
     {
       rtx op2, op3;