From: Jeff Law Date: Sat, 11 Apr 1992 14:34:44 +0000 (-0600) Subject: *** empty log message *** X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d79022179595b58010836e23f6016306f27caad3;p=gcc.git *** empty log message *** From-SVN: r725 --- diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 154eb29deb3..69b9b436dff 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -3138,6 +3138,20 @@ return \"f%&neg%.d %f1,%0\"; }") +;; Sqrt instruction for the 68881 + +(define_insn "sqrtdf2" + [(set (match_operand:DF 0 "general_operand" "=f") + (sqrt:DF (match_operand:DF 1 "general_operand" "fm")))] + "TARGET_68881" + "* +{ + if (FP_REG_P (operands[1])) + return \"fsqrt%.x %1,%0\"; + else + return \"fsqrt%.d %1,%0\"; +}") + ;; Absolute value instructions (define_expand "abssf2"