diff options
| author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 11:58:32 +0000 |
|---|---|---|
| committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-29 11:58:32 +0000 |
| commit | bd91c38fa75fd04ab4bf5fe9afbab9e235aa2af2 (patch) | |
| tree | 10d4f55e900efd454d94253f7cf6a2e61f492759 | |
| parent | b70a541a5230a0e4ff04dda5f0a4c8c2dfdf6a9e (diff) | |
| download | ppe42-gcc-bd91c38fa75fd04ab4bf5fe9afbab9e235aa2af2.tar.gz ppe42-gcc-bd91c38fa75fd04ab4bf5fe9afbab9e235aa2af2.zip | |
* config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86722 138bc75d-0d04-0410-961f-82ee72b054a4
| -rw-r--r-- | gcc/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/config/mips/mips.md | 19 |
2 files changed, 8 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bcfbc0b9dbd..d5aa281bf82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2004-08-29 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF. + +2004-08-29 Richard Sandiford <rsandifo@redhat.com> + * config/mips/mips.md (divide_condition): New mode attribute. (div[sd]f3, *div[sd]f3): Use it. Redefine using :SCALARF. (sqrt[sd]f3): Redefine using SCALARF. diff --git a/gcc/config/mips/mips.md b/gcc/config/mips/mips.md index 3e220d07d96..97caec2c9db 100644 --- a/gcc/config/mips/mips.md +++ b/gcc/config/mips/mips.md @@ -4317,22 +4317,11 @@ beq\t%2,%.,1b\;\ DONE; }) -(define_expand "cmpdf" - [(set (cc0) - (compare:CC (match_operand:DF 0 "register_operand") - (match_operand:DF 1 "register_operand")))] - "TARGET_HARD_FLOAT && TARGET_DOUBLE_FLOAT" -{ - cmp_operands[0] = operands[0]; - cmp_operands[1] = operands[1]; - DONE; -}) - -(define_expand "cmpsf" +(define_expand "cmp<mode>" [(set (cc0) - (compare:CC (match_operand:SF 0 "register_operand") - (match_operand:SF 1 "register_operand")))] - "TARGET_HARD_FLOAT" + (compare:CC (match_operand:SCALARF 0 "register_operand") + (match_operand:SCALARF 1 "register_operand")))] + "" { cmp_operands[0] = operands[0]; cmp_operands[1] = operands[1]; |

