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

Zoƫ Gidiere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 07:16:30 PST 2023


duplexsystem added a comment.

In D134719#4056381 <https://reviews.llvm.org/D134719#4056381>, @danielkiss wrote:

> 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.

Thanks for the willingness to look into x86 support! If you need anything from me (elaborate on use case, testing, etc) let me know.


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

https://reviews.llvm.org/D134719



More information about the llvm-commits mailing list