Re: Move ldexp, scalbn and scalbln folds to match.pd

2015-10-26 Thread Richard Biener
On Mon, Oct 26, 2015 at 11:08 AM, Richard Sandiford wrote: > Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. > OK to install? Ok. Thanks, Richard. > Thanks, > Richard > > > gcc/ > * builtins.c (fold_builtin_load_exponent): Rename to... > (fold_const_builtin_

Move ldexp, scalbn and scalbln folds to match.pd

2015-10-26 Thread Richard Sandiford
Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. OK to install? Thanks, Richard gcc/ * builtins.c (fold_builtin_load_exponent): Rename to... (fold_const_builtin_load_exponent): ...this and only handle constant arguments. (fold_builtin_2): Updat