Fix bug in movdf_softfloat32.
authorMichael Eager <eager@eagercon.com>
Fri, 8 May 2009 16:18:16 +0000 (16:18 +0000)
committerMichael Eager <eager@gcc.gnu.org>
Fri, 8 May 2009 16:18:16 +0000 (16:18 +0000)
From-SVN: r147290

gcc/ChangeLog
gcc/config/rs6000/rs6000.md

index 49e0610..ec198ef 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-08  Michael Eager <eager@eagercon.com>
+
+       * config/rs6000/rs6000.md (*movdf_softfloat32): replace
+       !TARGET_DOUBLE_FLOAT with TARGET_SINGLE_FLOAT.
+
 2009-05-08  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/40062
index cb7c404..cc37d91 100644 (file)
   [(set (match_operand:DF 0 "nonimmediate_operand" "=r,r,m,r,r,r")
        (match_operand:DF 1 "input_operand" "r,m,r,G,H,F"))]
   "! TARGET_POWERPC64 
-   && ((TARGET_FPRS && !TARGET_DOUBLE_FLOAT) 
+   && ((TARGET_FPRS && TARGET_SINGLE_FLOAT) 
        || TARGET_SOFT_FLOAT || TARGET_E500_SINGLE)
    && (gpc_reg_operand (operands[0], DFmode)
        || gpc_reg_operand (operands[1], DFmode))"