* config/rx/rx.md (cstoresf4): Pass comparison operator to
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2011 16:09:52 +0000 (16:09 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 22 Jan 2011 16:09:52 +0000 (16:09 +0000)
rx_split_fp_compare.

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

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

index b0edbea..4ea250f 100644 (file)
@@ -1,5 +1,10 @@
 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.
        (deallocate_and_return): Wrap the amount popped off the stack in
        an UNSPEC_CONST in order to stop it being rejected by
@@ -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 1ae42cb..11dc1f3 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;