This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Always expand pow(x,2.0) as x*x
- From: Richard Henderson <rth at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- Date: Sat, 31 Jan 2004 21:44:50 -0800
- Subject: Re: [PATCH] Always expand pow(x,2.0) as x*x
- References: <Pine.LNX.4.58.0401292237320.754@goofy> <Pine.LNX.4.44.0401311909470.32161-100000@www.eyesopen.com>
On Sat, Jan 31, 2004 at 07:24:06PM -0700, Roger Sayle wrote:
> * builtins.c (expand_builtin_pow): If flag_unsafe_math_optimizations
> isn't set, don't call expand_builtin_mathfn_2 to use the pow optab.
> (expand_builtin): Always call expand_builtin_pow.
Ok.
r~