This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR11706, optimize std::pow(T, int)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]