Re: Move remaining flag_unsafe_math_optimizations using simplify and match

2015-08-28 Thread Richard Biener
On Fri, Aug 28, 2015 at 7:33 AM, Marc Glisse wrote: > On Thu, 27 Aug 2015, Andreas Schwab wrote: > >> "Hurugalawadi, Naveen" writes: >> >>> * fold-const.c (fold_binary_loc) : Move Optimize >>> root(x)*root(y) as root(x*y) to match.pd. >>> Move Optimize expN(x)*expN(y) as e

Re: Move remaining flag_unsafe_math_optimizations using simplify and match

2015-08-27 Thread Marc Glisse
On Thu, 27 Aug 2015, Andreas Schwab wrote: "Hurugalawadi, Naveen" writes: * fold-const.c (fold_binary_loc) : Move Optimize root(x)*root(y) as root(x*y) to match.pd. Move Optimize expN(x)*expN(y) as expN(x+y) to match.pd. Move Optimize pow(x,y)*pow(x,z) as pow(x

Re: Move remaining flag_unsafe_math_optimizations using simplify and match

2015-08-27 Thread Andreas Schwab
"Hurugalawadi, Naveen" writes: > * fold-const.c (fold_binary_loc) : Move Optimize > root(x)*root(y) as root(x*y) to match.pd. > Move Optimize expN(x)*expN(y) as expN(x+y) to match.pd. > Move Optimize pow(x,y)*pow(x,z) as pow(x,y+z) to match.pd. > Move Optimize a/roo

Re: Move remaining flag_unsafe_math_optimizations using simplify and match

2015-08-25 Thread Richard Biener
On Tue, Aug 25, 2015 at 5:29 AM, Hurugalawadi, Naveen wrote: > Hi, > > Please find attached the remaining part of patch. > > Tested the patch on AArch64 and X86 without any regressions. > > Please review the patch and let me know if any modifications are required. Ok. Thanks, Richard. > Thanks,