rust-lang / rust-lang/rustc_codegen_cranelift
missing avx2 intrinsics
Open
Nobody has claimed this yet.
A-core-arch
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 157
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 3
Description
Current rav1e master shows:
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.pabs.w; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.pmadd.wd; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.psign.w; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.psrlv.d.256; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.packssdw; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.gather.d.d.256; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx.cvtdq2.ps.256; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.psllv.d.256; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.avx2.psrav.d.256; replacing with trap
warning: unsupported x86 llvm intrinsic llvm.x86.sse2.packssdw.128; replacing with trap
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warnings while building current rav1e master and trace how rustc_codegen_cranelift handles the listed x86 LLVM intrinsics. Done means the AVX and AVX2 intrinsics no longer produce unsupported-intrinsic trap warnings; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100