re PR tree-optimization/68501 (sqrt builtin is not used anymore)
authorJakub Jelinek <jakub@redhat.com>
Mon, 30 Nov 2015 14:56:08 +0000 (15:56 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 30 Nov 2015 14:56:08 +0000 (15:56 +0100)
commit7b90c63a28e85014656ecab28459dcd23c7d2457
tree85c8ca3151ec7fc442e5d5aa3ec4917317da3cff
parent7a5a0decae0af00cf736ec2c8558c185e59e47b8
re PR tree-optimization/68501 (sqrt builtin is not used anymore)

PR tree-optimization/68501
* target.def (builtin_reciprocal): Replace the 3 arguments with
a gcall * one, adjust description.
* targhooks.h (default_builtin_reciprocal): Replace the 3 arguments
with a gcall * one.
* targhooks.c (default_builtin_reciprocal): Likewise.
* tree-ssa-math-opts.c (pass_cse_reciprocals::execute): Use
targetm.builtin_reciprocal even on internal functions, adjust
the arguments and allow replacing an internal function with normal
built-in.
* config/i386/i386.c (ix86_builtin_reciprocal): Replace the 3 arguments
with a gcall * one.  Handle internal fns too.
* config/rs6000/rs6000.c (rs6000_builtin_reciprocal): Likewise.
* config/aarch64/aarch64.c (aarch64_builtin_reciprocal): Likewise.
* doc/tm.texi (builtin_reciprocal): Document.

From-SVN: r231075
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/config/i386/i386.c
gcc/config/rs6000/rs6000.c
gcc/doc/tm.texi
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h
gcc/tree-ssa-math-opts.c