re PR target/88556 (Inline built-in sinh, cosh, tanh for -ffast-math)
authorUros Bizjak <ubizjak@gmail.com>
Fri, 21 Dec 2018 13:30:58 +0000 (14:30 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Fri, 21 Dec 2018 13:30:58 +0000 (14:30 +0100)
commit247c45b265ff85428aafb7cfcf6f968936ad48f3
treea5a129f25fa82b46540ceb6d1cd01d33d19bbf28
parent6aa698aa4dce009886b4c793b6aefe2d8977ef9d
re PR target/88556 (Inline built-in sinh, cosh, tanh for -ffast-math)

PR target/88556
* internal-fn.def (COSH): New.
(SINH): Ditto.
(TANH): Ditto.
* optabs.def (cosh_optab): New.
(sinh_optab): Ditto.
(tanh_optab): Ditto.
* config/i386/i386-protos.h (ix86_emit_i387_sinh): New prototype.
(ix86_emit_i387_cosh): Ditto.
(ix86_emit_i387_tanh): Ditto.
* config/i386/i386.c (ix86_emit_i387_sinh): New function.
(ix86_emit_i387_cosh): Ditto.
(ix86_emit_i387_tanh): Ditto.
* config/i386/i386.md (sinhxf2): New expander.
(sinh<mode>2): Ditto.
(coshxf2): Ditto.
(cosh<mode>2): Ditto.
(tanhxf2): Ditto.
(tanh<mode>2): Ditto.

From-SVN: r267325
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/internal-fn.def
gcc/optabs.def