rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr moves.
authorAlan Modra <amodra@bigpond.net.au>
Tue, 28 Oct 2003 22:25:36 +0000 (22:25 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 28 Oct 2003 22:25:36 +0000 (08:55 +1030)
* config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
moves.

From-SVN: r73022

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

index 0438e09..7519bc3 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/rs6000/rs6000.md (movdf_softfloat64): Allow dummy ctr,ctr
+       moves.
+
 2003-10-28  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
 
        PR target/11598
index 73a8787..ad7fdf0 100644 (file)
    (set_attr "length" "4,4,4,4,4,4,4,4,8,12,16")])
 
 (define_insn "*movdf_softfloat64"
-  [(set (match_operand:DF 0 "nonimmediate_operand" "=r,cl,r,r,m,r,r,r")
-       (match_operand:DF 1 "input_operand" "r,r,h,m,r,G,H,F"))]
+  [(set (match_operand:DF 0 "nonimmediate_operand" "=r,cl,r,r,m,r,r,r,*h")
+       (match_operand:DF 1 "input_operand" "r,r,h,m,r,G,H,F,0"))]
   "TARGET_POWERPC64 && (TARGET_SOFT_FLOAT || !TARGET_FPRS)
    && (gpc_reg_operand (operands[0], DFmode)
        || gpc_reg_operand (operands[1], DFmode))"
    std%U0%X0 %1,%0
    #
    #
-   #"
-  [(set_attr "type" "*,*,*,load,store,*,*,*")
-   (set_attr "length" "4,4,4,4,4,8,12,16")])
+   #
+   nop"
+  [(set_attr "type" "*,*,*,load,store,*,*,*,*")
+   (set_attr "length" "4,4,4,4,4,8,12,16,4")])
 \f
 (define_expand "movtf"
   [(set (match_operand:TF 0 "general_operand" "")