Commit 9a7c2050 by Nick Clifton Committed by Nick Clifton

rx.md (cstoresf4): Pass comparison operator to rx_split_fp_compare.

	* config/rx/rx.md (cstoresf4): Pass comparison operator to
	rx_split_fp_compare.

From-SVN: r169129
parent 15ba5696
2011-01-22 Nick Clifton <nickc@redhat.com> 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. * config/rx/rx.md (UNSPEC_CONST): New.
(deallocate_and_return): Wrap the amount popped off the stack in (deallocate_and_return): Wrap the amount popped off the stack in
an UNSPEC_CONST in order to stop it being rejected by an UNSPEC_CONST in order to stop it being rejected by
...@@ -16,6 +21,7 @@ ...@@ -16,6 +21,7 @@
(sibcall_value): Likewise. (sibcall_value): Likewise.
(mov<>): FAIL if a constant operand is not legitimate. (mov<>): FAIL if a constant operand is not legitimate.
(addsi3_unpsec): New pattern. (addsi3_unpsec): New pattern.
* config/rx/rx.c (rx_print_operand_address): Handle UNPSEC * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
CONSTs. CONSTs.
(ok_for_max_constant): New function. (ok_for_max_constant): New function.
......
...@@ -762,7 +762,7 @@ ...@@ -762,7 +762,7 @@
/* If the comparison needs swapping of operands, do that now. /* If the comparison needs swapping of operands, do that now.
Do not split the comparison in two yet. */ 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; rtx op2, op3;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment