diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-04-11 13:31:43 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-11 13:31:43 +1000 |
| commit | 45ebc4060b54009ef32fbcb91e26621e8380abd4 (patch) | |
| tree | 407182697816547aea32a3d1602026d43bcf832a /compiler/rustc_interface/src/interface.rs | |
| parent | e62d47daceeec445edede74c87d0d0a3acb1a175 (diff) | |
| parent | 59c55339af73b5345ec28d7d830c7bd3feee45b3 (diff) | |
| download | rust-45ebc4060b54009ef32fbcb91e26621e8380abd4.tar.gz rust-45ebc4060b54009ef32fbcb91e26621e8380abd4.zip | |
Rollup merge of #137447 - folkertdev:simd-extract-insert-dyn, r=scottmcm
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`
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions
