diff options
author | Michael Meissner <meissner@gcc.gnu.org> | 1995-02-24 18:07:00 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 1995-02-24 18:07:00 +0000 |
commit | 58733f960942f3c1384cf7c407e7dccbc8aafd09 (patch) | |
tree | 981b1e5dc31b932c17bc1e606002708cc7b4737a | |
parent | f33985c6ed8e255b09f0274145ac916d4331b01e (diff) | |
download | gcc-58733f960942f3c1384cf7c407e7dccbc8aafd09.zip gcc-58733f960942f3c1384cf7c407e7dccbc8aafd09.tar.gz gcc-58733f960942f3c1384cf7c407e7dccbc8aafd09.tar.bz2 |
Define long double versions of sin/cos
From-SVN: r9055
-rw-r--r-- | gcc/config/i386/i386.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 5dfa166..b0c79a4 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 |