Re: Use combined_fn in tree-vrp.c

2015-11-16 Thread Richard Biener
On Fri, Nov 13, 2015 at 12:27 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Tue, Nov 10, 2015 at 1:09 AM, Bernd Schmidt wrote: >>> On 11/07/2015 01:46 PM, Richard Sandiford wrote: @@ -3814,8

Re: Use combined_fn in tree-vrp.c

2015-11-13 Thread Richard Sandiford
Richard Biener writes: > On Tue, Nov 10, 2015 at 1:09 AM, Bernd Schmidt wrote: >> On 11/07/2015 01:46 PM, Richard Sandiford wrote: >>> >>> @@ -3814,8 +3817,8 @@ extract_range_basic (value_range *vr, gimple *stmt) >>> break; >>>

Re: Use combined_fn in tree-vrp.c

2015-11-10 Thread Richard Biener
On Tue, Nov 10, 2015 at 1:09 AM, Bernd Schmidt wrote: > On 11/07/2015 01:46 PM, Richard Sandiford wrote: >> >> @@ -3814,8 +3817,8 @@ extract_range_basic (value_range *vr, gimple *stmt) >> break; >> /* Both __builtin_ffs* and __builtin_popcount return >>

Re: Use combined_fn in tree-vrp.c

2015-11-09 Thread Jeff Law
On 11/07/2015 05:46 AM, Richard Sandiford wrote: Another patch to extend uses of built_in_function to combined_fn, this time in tree-vrp.c. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. OK to install? Thanks, Richard gcc/ * tree-vrp.c: Include

Re: Use combined_fn in tree-vrp.c

2015-11-09 Thread Bernd Schmidt
On 11/07/2015 01:46 PM, Richard Sandiford wrote: @@ -3814,8 +3817,8 @@ extract_range_basic (value_range *vr, gimple *stmt) break; /* Both __builtin_ffs* and __builtin_popcount return [0, prec]. */ - CASE_INT_FN (BUILT_IN_FFS): - CASE_INT_FN

Use combined_fn in tree-vrp.c

2015-11-07 Thread Richard Sandiford
Another patch to extend uses of built_in_function to combined_fn, this time in tree-vrp.c. Tested on x86_64-linux-gnu, aarch64-linux-gnu and arm-linux-gnueabi. OK to install? Thanks, Richard gcc/ * tree-vrp.c: Include case-cfn-macros.h. (extract_range_basic): Switch on