[PATCH] Perform constant folding of math builtins

Roger Sayle roger@eyesopen.com
Mon Aug 26 13:33:00 GMT 2002


On Mon, 26 Aug 2002, Kaveh R. Ghazi wrote:
> How about some with pow?

Unfortunately, "pow" isn't yet recognized as a GCC built-in function.
Both "exp" and "log" are recent additions, and the original patch to
implement them as inline 387 intrinsics is still under revision.

Once again, not a show-stopper.  Given that Mark has stated that we've
officially passed the stage 3 cut-off, we can wait to add support for
"pow" and friends in October after 3.3 has branched.

Nice set of transformations, though.

Roger
--



More information about the Gcc-patches mailing list