rust-lang / stdarch

Rust's standard library vendor-specific APIs and run-time feature detection
https://doc.rust-lang.org/stable/core/arch/
Apache License 2.0
599 stars 260 forks source link

import LLVM SIMD intrinsics from core rather than declaring them locally #1529

Closed RalfJung closed 5 months ago

RalfJung commented 5 months ago

These intrinsics are very tied to rustc so it's nicer to have them in the same repo as rustc. This also lets us share the definitions with portable-simd.

However it turns out some intrinsics are still missing on the rustc side, I will add them there. Also some intrinsics seem to be entirely unused:

rustbot commented 5 months ago

r? @Amanieu

rustbot has assigned @Amanieu. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer