diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2025-01-13 20:43:51 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-13 20:43:51 -0500 |
| commit | 9fdebf65f06e8bd1ebb89dfe2e17fd534fa8d72e (patch) | |
| tree | da6733361cadb65d8c61b9a022706a8f8cba1cf1 | |
| parent | ab77d157e210c3b33c4da968bc9e217fc4d9d2e6 (diff) | |
| parent | aa14931503ba593b58901d9a2125a53e755e671e (diff) | |
| download | rust-9fdebf65f06e8bd1ebb89dfe2e17fd534fa8d72e.tar.gz rust-9fdebf65f06e8bd1ebb89dfe2e17fd534fa8d72e.zip | |
Rollup merge of #135454 - maurer:sized-word-ymmword, r=jieyouxu
llvm: Allow sized-word rather than ymmword in tests llvm/llvm-project#122530 changes LLVM to use sized-word rather than ymmword for scatter gather pointers. While this will not always be qword, it is for these two tests. `@rustbot` label: +llvm-main
| -rw-r--r-- | tests/assembly/simd-intrinsic-gather.rs | 2 | ||||
| -rw-r--r-- | tests/assembly/simd-intrinsic-scatter.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/assembly/simd-intrinsic-gather.rs b/tests/assembly/simd-intrinsic-gather.rs index 2cbb6cfbb50..d2b5a1507f0 100644 --- a/tests/assembly/simd-intrinsic-gather.rs +++ b/tests/assembly/simd-intrinsic-gather.rs @@ -38,6 +38,6 @@ pub unsafe extern "C" fn gather_f64x4(mask: m64x4, ptrs: pf64x4) -> f64x4 { // x86-avx512: vpsllq ymm0, ymm0, 63 // x86-avx512-NEXT: vpmovq2m k1, ymm0 // x86-avx512-NEXT: vpxor xmm0, xmm0, xmm0 - // x86-avx512-NEXT: vgatherqpd ymm0 {k1}, ymmword ptr [1*ymm1] + // x86-avx512-NEXT: vgatherqpd ymm0 {k1}, {{(ymmword)|(qword)}} ptr [1*ymm1] simd_gather(f64x4([0_f64, 0_f64, 0_f64, 0_f64]), ptrs, mask) } diff --git a/tests/assembly/simd-intrinsic-scatter.rs b/tests/assembly/simd-intrinsic-scatter.rs index 679972d9b86..f7e08e33faa 100644 --- a/tests/assembly/simd-intrinsic-scatter.rs +++ b/tests/assembly/simd-intrinsic-scatter.rs @@ -34,6 +34,6 @@ extern "rust-intrinsic" { pub unsafe extern "C" fn scatter_f64x4(values: f64x4, ptrs: pf64x4, mask: m64x4) { // x86-avx512: vpsllq ymm2, ymm2, 63 // x86-avx512-NEXT: vpmovq2m k1, ymm2 - // x86-avx512-NEXT: vscatterqpd ymmword ptr [1*ymm1] {k1}, ymm0 + // x86-avx512-NEXT: vscatterqpd {{(ymmword)|(qword)}} ptr [1*ymm1] {k1}, ymm0 simd_scatter(values, ptrs, mask) } |
