Re: [PATCH] apply transformation on Darwin platform: pow(10, x) ―> __exp10(x)

Stephen Canon scanon at apple.com
Thu Dec 5 06:55:32 PST 2013


On Dec 5, 2013, at 1:07 AM, Yi Jiang <yjiang at apple.com> wrote:

> +  // "__exp10" and "__exp10f" is Darwin-specific and would be only avaliable on 
> +  // Mac OS/X 10.9 and iOS 7.0 and later.
> ...
> +; Check pow(10.0, x) -> __exp10(x) on Mac OS/X 10.9+ and iOS 7.0+ .

Typos: “available” and “Mac OS X” (no slash).

This looks fine from a numerics standpoint.  Someone else will need to review the compiler aspects of it.

– Steve

> Hi,
> 
> __exp10 would be Darwin specific and only be available on OSX 10.9+ and iOS 7.0+ so we will check the availability and apply this transformation. Any comments will be appreciated. 
> 
> <exp10.patch>




More information about the llvm-commits mailing list