mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-04 19:29:07 +00:00
![]() add `core::intrinsics::simd::{simd_extract_dyn, simd_insert_dyn}` fixes https://github.com/rust-lang/rust/issues/137372 adds `core::intrinsics::simd::{simd_extract_dyn, simd_insert_dyn}`, which contrary to their non-dyn counterparts allow a non-const index. Many platforms (but notably not x86_64 or aarch64) have dedicated instructions for this operation, which stdarch can emit with this change. Future work is to also make the `Index` operation on the `Simd` type emit this operation, but the intrinsic can't be used directly. We'll need some MIR shenanigans for that. r? `@ghost` |
||
---|---|---|
.. | ||
extract-insert-dyn.rs | ||
packed-simd-alignment.rs | ||
packed-simd.rs | ||
project-to-simd-array-field.rs | ||
simd_arith_offset.rs | ||
simd-wide-sum.rs | ||
swap-simd-types.rs | ||
unpadded-simd.rs |