rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
authorMatt Kraai <kraai@alumni.cmu.edu>
Mon, 21 Apr 2003 19:34:43 +0000 (19:34 +0000)
committerJanis Johnson <janis@gcc.gnu.org>
Mon, 21 Apr 2003 19:34:43 +0000 (19:34 +0000)
2003-04-21  Matt Kraai  <kraai@alumni.cmu.edu>

* config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.

From-SVN: r65895

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

index 27e72286eef843a5bde101a570bf7e3eb0613e8b..869a1751dddd184edfc54c542295557b965e296e 100644 (file)
@@ -1,3 +1,7 @@
+2003-04-21  Matt Kraii  <kraii@alumni.cmu.edu>
+
+       * config/rs6000/rs6000.md (*movsf_softfloat): Add "h" <- "0" case.
+
 2003-04-21  Neil Booth  <neil@daikokuya.co.uk>
 
        * c-ppoutput.c (cb_include): Don't take a cpp_token.
index 5be993b4796bf29d06b7140abb74a9ea7a2f7286..462eca9dd1e45d32ac180261d93f0e3cdfeb9445 100644 (file)
    (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8")])
 
 (define_insn "*movsf_softfloat"
-  [(set (match_operand:SF 0 "nonimmediate_operand" "=r,cl,q,r,r,m,r,r,r,r,r")
-       (match_operand:SF 1 "input_operand" "r,r,r,h,m,r,I,L,R,G,Fn"))]
+  [(set (match_operand:SF 0 "nonimmediate_operand" "=r,cl,q,r,r,m,r,r,r,r,r,*h")
+       (match_operand:SF 1 "input_operand" "r,r,r,h,m,r,I,L,R,G,Fn,0"))]
   "(gpc_reg_operand (operands[0], SFmode)
    || gpc_reg_operand (operands[1], SFmode))
    && (TARGET_SOFT_FLOAT || !TARGET_FPRS)"
    {liu|lis} %0,%v1
    {cal|la} %0,%a1
    #
-   #"
-  [(set_attr "type" "*,mtjmpr,*,*,load,store,*,*,*,*,*")
-   (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8")])
+   #
+   {cror 0,0,0|nop}"
+  [(set_attr "type" "*,mtjmpr,*,*,load,store,*,*,*,*,*,*")
+   (set_attr "length" "4,4,4,4,4,4,4,4,4,4,8,4")])
 
 \f
 (define_expand "movdf"