From: Richard Sandiford Date: Sun, 29 Aug 2004 11:58:32 +0000 (+0000) Subject: * config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53d9ac3b1dc712a83f28d4a9a8265eb2a0d0758f;p=gcc.git * config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF. From-SVN: r86722 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bcfbc0b9dbd..d5aa281bf82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-08-29 Richard Sandiford + + * config/mips/mips.md (cmp[sd]f): Redefine using :SCALARF. + 2004-08-29 Richard Sandiford * config/mips/mips.md (divide_condition): New mode attribute. 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" [(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];