> From: "Dimitri Tcaciuc" <[hidden email]>
> Sent: Sunday, January 27, 2013 3:42:42 AM
> Subject: [LLVMdev] SIMD trigonometry/logarithms?
>
> I was looking at loop vectorizer code and wondered if there was any
> current or planned effort to introduce SIMD implementations of
> sin/cos/exp/log intrinsics (in particular for x86-64 backend)?
I am currently implementing vecmathlib <
https://bitbucket.org/eschnett/vecmathlib> for just this purpose. There are
implementations of most libm functions for various vector sizes, optimised
for particular hardware architectures where e.g. machine instructions are
available. Support for x86_64 should be most complete (SSE2, AVX).
Vecmathlib passes various correctness tests. I assume that many of its
algorithms could stand improvement. I am still working on the documentation.
-erik
--
Erik Schnetter <schnetter at gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130205/f88f8f86/attachment.html>