aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-generic.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2015-10-27 09:29:40 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2015-10-27 09:29:40 +0000
commit4d7836c4361c5ae2f703c03e789ac0c533dd80be (patch)
tree77a20b470231501dd40126c4597a20cc52530819 /gcc/tree-vect-generic.c
parent4aecfe19869d2ba26ac4e4a967eb0b0cbf9b0114 (diff)
downloadgcc-4d7836c4361c5ae2f703c03e789ac0c533dd80be.zip
gcc-4d7836c4361c5ae2f703c03e789ac0c533dd80be.tar.gz
gcc-4d7836c4361c5ae2f703c03e789ac0c533dd80be.tar.bz2
Move hypot folds to match.pd
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. gcc/ * builtins.c (fold_builtin_hypot): Delete. (fold_builtin_2): Handle constant hypot arguments here. * match.pd: Fold hypot(x, 0) and hypot(0, x) to x. Canonicalize hypot(x, x) to fabs(x)*sqrt(2). From-SVN: r229407
Diffstat (limited to 'gcc/tree-vect-generic.c')
0 files changed, 0 insertions, 0 deletions