From: Michael Meissner Date: Fri, 24 Feb 1995 18:07:00 +0000 (+0000) Subject: Define long double versions of sin/cos X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58733f960942f3c1384cf7c407e7dccbc8aafd09;p=gcc.git Define long double versions of sin/cos From-SVN: r9055 --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 5dfa166d3be..b0c79a4b168 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -3489,6 +3489,13 @@ && (TARGET_IEEE_FP || flag_fast_math) " "fsin") +(define_insn "sinxf2" + [(set (match_operand:XF 0 "register_operand" "=f") + (unspec:XF [(match_operand:XF 1 "register_operand" "0")] 1))] + "! TARGET_NO_FANCY_MATH_387 && TARGET_80387 + && (TARGET_IEEE_FP || flag_fast_math) " + "fsin") + (define_insn "cosdf2" [(set (match_operand:DF 0 "register_operand" "=f") (unspec:DF [(match_operand:DF 1 "register_operand" "0")] 2))] @@ -3510,6 +3517,13 @@ "! TARGET_NO_FANCY_MATH_387 && TARGET_80387 && (TARGET_IEEE_FP || flag_fast_math) " "fcos") + +(define_insn "cosxf2" + [(set (match_operand:XF 0 "register_operand" "=f") + (unspec:XF [(match_operand:XF 1 "register_operand" "0")] 2))] + "! TARGET_NO_FANCY_MATH_387 && TARGET_80387 + && (TARGET_IEEE_FP || flag_fast_math) " + "fcos") ;;- one complement instructions