Re: [PATCH] Expand pow(x,n) into mulitplies in cse_sincos pass (PR46728, patch 2)

2012-09-13 Thread H.J. Lu
On Tue, May 24, 2011 at 1:35 PM, William J. Schmidt wrote: > Here's a small patch to expand pow(x,n) for integer n using the > powi(x,n) logic in the cse_sincos pass. OK for trunk? > > For the next patch, I'll plan on expanding pow(x,n) for n in > {0.5, 0.25, 0.75, 1./3., 1./6.}. This logic will

Re: [PATCH] Expand pow(x,n) into mulitplies in cse_sincos pass (PR46728, patch 2)

2011-05-25 Thread Richard Guenther
On Tue, May 24, 2011 at 10:35 PM, William J. Schmidt wrote: > Here's a small patch to expand pow(x,n) for integer n using the > powi(x,n) logic in the cse_sincos pass.  OK for trunk? > > For the next patch, I'll plan on expanding pow(x,n) for n in > {0.5, 0.25, 0.75, 1./3., 1./6.}.  This logic wil