This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: std::pow implementation
- From: dewar at gnat dot com (Robert Dewar)
- To: Richard dot Earnshaw at arm dot com, gdr at integrable-solutions dot net
- Cc: aoliva at redhat dot com, coyote at coyotegulch dot com, gcc at gcc dot gnu dot org,rguenth at tat dot physik dot uni-tuebingen dot de
- Date: Wed, 30 Jul 2003 16:14:48 -0400 (EDT)
- Subject: Re: std::pow implementation
> | If the original C specification had said that "register" meant "register"
> | unconditionally, then the situation wouldn't have been any different --
> | the compiler would have to obey the user, even if the compiler could do
> | better.
That would be very hard for a standard to say, given that standards describe
as-if semantics and are not in the business of telling you what sequences
of instructions may or may not be used to implement these semantics.