Porting SLEEF to RISC-V
Talkat RISC-V Summit North America 2024 · on Wednesday, 2024-10-23· at 14:35· Grand Ballroom G (Level 1)·
summary
SLEEF gets a complete RISC‑V port that implements single, double and quad precision math plus a DFT backend, with RVV targets for LMUL=1 and LMUL=2 and explicit handling of vector lengths. Build uses LLVM (clang) and relies on QEMU with zba/zbb/zbs enabled to emulate 128/256/512-bit and VL=5/12 testing. CI runs on QEMU on GitHub Actions and shows 62/62 tests pass, all via cross‑compile and vsetvl handling.
AI-written summary · about
chapters (6)
- 0:00Introduction to SLEEF
- 1:47SLEEF architecture design
- 4:41Porting challenges
- 6:51RISC-V specific implementation
- 11:05Build and test workflow
- 14:02CI automation and conclusion
related talks
01h 45mPorting SIMD to RISC-V Vectors | Corrected Audio
16mImprovements to RISC-V Vector code generation in LLVM
24mRISC V LLVM: Towards A Production-Ready LLVM-Based Toolchain
28mLLVM for RISCV
21mProduction ready RISC V Support in LLVM Clang 9
19mGetting the Most out of the LLVM Auto Vectorizer for RISC-V Vectors (RVV)
17mMaking LLVM RISC-V Compiler More Performant for Everyone
13mRISC-V 32-bit glibc port
