This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] PR11706, optimize std::pow(T, int)
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- Cc: Paolo Carlini <pcarlini at suse dot de>, <libstdc++ at gcc dot gnu dot org>
- Date: 12 Jan 2005 17:53:30 +0100
- Subject: Re: [PATCH] PR11706, optimize std::pow(T, int)
- Organization: Integrable Solutions
- References: <Pine.LNX.4.44.0501121714380.16464-100000@alwazn.tat.physik.uni-tuebingen.de>
Richard Guenther <rguenth@tat.physik.uni-tuebingen.de> writes:
| The __builtin_pow variants handle constant integer exponents specially
| - they only do not dispatch to special integer versions for non-constant
| exponents.
That is a flow. If I recall correctly, the idea is to have the
compiler handle integer powers too, be they constant or not.
-- Gaby