(movsf recognizer): Output `fcpy,sgl', not `fcpy'.
authorTorbjorn Granlund <tege@gnu.org>
Thu, 13 Aug 1992 10:58:56 +0000 (10:58 +0000)
committerTorbjorn Granlund <tege@gnu.org>
Thu, 13 Aug 1992 10:58:56 +0000 (10:58 +0000)
From Jeff Law: (zdepi in HImode): Move this pattern after the standard
movhi patterns.

From-SVN: r1809

gcc/config/pa/pa.md

index 105ae2270595ca96c1e45ed03c2cff7f1bef3cc6..a34bebbb03ecf2a3be2c45b212bbe4f34f37abaa 100644 (file)
   [(set_attr "type" "move")
    (set_attr "length" "1")])
 
-(define_insn ""
-  [(set (match_operand:HI 0 "register_operand" "=r")
-       (match_operand:HI 1 "zdepi_operand" "n"))]
-  ""
-  "*
-{
-  return output_zdepi (operands);
-}"
-  [(set_attr "type" "move")
-   (set_attr "length" "1")])
-
 (define_insn ""
   [(set (match_operand:SI 0 "register_operand" "=a,?*r")
        (plus:SI (match_operand:SI 1 "register_operand" "r,r")
   [(set_attr "type" "move")
    (set_attr "length" "1")])
 
+(define_insn ""
+  [(set (match_operand:HI 0 "register_operand" "=r")
+       (match_operand:HI 1 "zdepi_operand" "n"))]
+  ""
+  "*
+{
+  return output_zdepi (operands);
+}"
+  [(set_attr "type" "move")
+   (set_attr "length" "1")])
+
 (define_insn ""
   [(set (match_operand:HI 0 "register_operand" "=r")
        (lo_sum:HI (match_operand:HI 1 "register_operand" "r")
                          "fx,r,!fx,!r,Q,Q,fx,r"))]
   ""
   "@
-   fcpy %1,%0
+   fcpy,sgl %1,%0
    copy %1,%0
    fstws %1,-16(0,30)\;ldw -16(0,30),%0
    stw %r1,-16(0,30)\;fldws -16(0,30),%0