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

Daniel Kiss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 06:57:13 PST 2023


danielkiss marked an inline comment as done.
danielkiss added a comment.

In D134719#4048366 <https://reviews.llvm.org/D134719#4048366>, @duplexsystem wrote:

> Is there any chance of enabling this on platforms other than AArch64? Sleef has x86, AArch32, PowerPC64, System/390, CUDA, and WebAssembly support (although I am mostly interested in x86), in addition to AArch64.

I'll look into adding x86, x86_64, probably in new patch top of this. I would add targets where we have demand.

> This makes sleef a very useful for platforms without libmvec (due either to a lack of architecture support or lack of glibc).

Correct, this is the main motivation.

> I understand this MR is likely motivated by a lack of libmvec on anything but x86, but there are use cases on x86 particularly systems using musl libc.

Thanks for the use case.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134719/new/

https://reviews.llvm.org/D134719



More information about the llvm-commits mailing list