[PATCH] D28335: [WIP] [RFC] Don't lower floating point intrinsics to libcalls which modify errno

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 4 12:51:21 PDT 2017


efriedma added a comment.

Huh, I guess we do use the x87 sin/cos.  It's probably a terrible idea (the microcoded routines are both slow and wildly inaccurate for large inputs), but we do it.

And it looks like AMDGPU lowers llvm.pow using the identity pow(x,y) = exp2(y * log2(x)).  So nevermind. :)


Repository:
  rL LLVM

https://reviews.llvm.org/D28335





More information about the llvm-commits mailing list