diff options
author | Nick Clifton <nickc@redhat.com> | 2011-01-22 16:09:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2011-01-22 16:09:52 +0000 |
commit | 9a7c205049669b3d1cbf597c416541a89cfe2289 (patch) | |
tree | a1509fe1ad3c380054427f2c6222c00fbe81e3a4 /gcc | |
parent | 15ba56964dee4136423c2d8534698013663fb8df (diff) | |
download | gcc-9a7c205049669b3d1cbf597c416541a89cfe2289.zip gcc-9a7c205049669b3d1cbf597c416541a89cfe2289.tar.gz gcc-9a7c205049669b3d1cbf597c416541a89cfe2289.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rx/rx.md | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b0edbea..4ea250f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/rx/rx.md b/gcc/config/rx/rx.md index 1ae42cb..11dc1f3 100644 --- a/gcc/config/rx/rx.md +++ b/gcc/config/rx/rx.md @@ -762,7 +762,7 @@ /* 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; |