* sh.md (sqrtsf2): Fix mode of sqrt.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Thu, 24 Sep 1998 14:20:37 +0000 (14:20 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Thu, 24 Sep 1998 14:20:37 +0000 (15:20 +0100)
From-SVN: r22572

gcc/ChangeLog
gcc/config/sh/sh.md

index 0b9d673dc94be82a58af7e67cd7fe326a024be55..afd9981e195cebb89eb58299a6189e4b92952989 100644 (file)
@@ -1,3 +1,7 @@
+Thu Sep 24 22:17:54 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * sh.md (sqrtsf2): Fix mode of sqrt.
+
 Thu Sep 24 21:48:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * reload1.c (choose_reload_regs): Also try inheritance when
index e25f2b72c6afb88a7a2c80ecf31f05b083557a22..3ca60b5d9ba0e21c5b277afd234c4808bdeb42fa 100644 (file)
 
 (define_insn "sqrtsf2"
   [(set (match_operand:SF 0 "arith_reg_operand" "=f")
-       (sqrt:DF (match_operand:SF 1 "arith_reg_operand" "0")))]
+       (sqrt:SF (match_operand:SF 1 "arith_reg_operand" "0")))]
   "TARGET_SH3E"
   "fsqrt       %0"
   [(set_attr "type" "fdiv")])