[Libre-soc-bugs] [Bug 632] Potentially share Vector Math libraries with Rust's project portable SIMD (`std::simd`)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 5 11:14:47 BST 2021


--- Comment #9 from Jacob Lifshay <programmerjake at gmail.com> ---
>From https://github.com/rust-lang/stdsimd/issues/109#issuecomment-832573074
I added bindings for std::simd:
Looking at the assembly generated for stdsimd::tests::do_ilogb_f32x4, it looks
pretty reasonable, everything's inlined, however there is still some branching
that llvm didn't optimize out:
Compiled using:

cargo rustc --release --tests --features=ir,fma,stdsimd -- --emit=asm -C
on a Ryzen 3900X on Ubuntu

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list