[PATCH] D53927: [AArch64] Enable libm vectorized functions via SLEEF

Naoki Shibata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 9 21:14:56 PST 2018


shibatch added a comment.

> @shibatch, do you know for sure that we shouldn't use the 3.5 ULP version of the function?

For example, wikepedia says "Reputable numeric libraries compute the basic transcendental functions to between 0.5 and about 1 ULP".

https://en.wikipedia.org/wiki/Unit_in_the_last_place

> As far as I know SVML guarantee a 4ULP precision, so I think we are good in doing SLEEF.

I think there is a room for discussion here. Since your OpemMP patch will have the same problem, it is better to post an RFC for this.


https://reviews.llvm.org/D53927





More information about the llvm-commits mailing list