about summary refs log tree commit diff
path: root/tests/ui/simd/intrinsic
AgeCommit message (Collapse)AuthorLines
2025-09-26Ignore more failing ui tests for GCC backendGuillaume Gomez-49/+51
2025-07-23Add `ignore-backends` annotations in failing GCC backend ui testsGuillaume Gomez-0/+3
2025-07-20So many test updates x_xScott McMurray-380/+389
2025-06-15Add `simd_funnel_sh{l,r}` and `simd_round_ties_even`sayantn-25/+138
2025-04-24Deprecate the unstable `concat_idents!`Trevor Gross-2/+2
`concat_idents` has been around unstably for a long time, but there is now a better (but still unstable) way to join identifiers using `${concat(...)}` syntax with `macro_metavar_expr_concat`. This resolves a lot of the problems with `concat_idents` and is on a better track toward stabilization, so there is no need to keep both versions around. `concat_idents!` still has a lot of use in the ecosystem so deprecate it before removing, as discussed in [1]. Link: https://github.com/rust-lang/rust/issues/124225 [1]: https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/topic/Removing.20.60concat_idents.60
2025-04-20Rollup merge of #137953 - RalfJung:simd-intrinsic-masks, r=WaffleLapkinChris Denton-49/+17
simd intrinsics with mask: accept unsigned integer masks, and fix some of the errors It's not clear at all why the mask would have to be signed, it is anyway interpreted bitwise. The backend should just make sure that works no matter the surface-level type; our LLVM backend already does this correctly. The note of "the mask may be widened, which only has the correct behavior for signed integers" explains... nothing? Why can't the code do the widening correctly? If necessary, just cast to the signed type first... Also while we are at it, fix the errors. For simd_masked_load/store, the errors talked about the "third argument" but they meant the first argument (the mask is the first argument there). They also used the wrong type for `expected_element`. I have extremely low confidence in the GCC part of this PR. See [discussion on Zulip](https://rust-lang.zulipchat.com/#narrow/channel/257879-project-portable-simd/topic/On.20the.20sign.20of.20masks)
2025-04-20simd intrinsics with mask: accept unsigned integer masksRalf Jung-49/+17
2025-04-10add `simd_insert_dyn` and `simd_extract_dyn`Folkert de Vries-2/+39
2025-03-01improve error message and testing of using an unsigned simd maskFolkert de Vries-4/+99
2025-02-27make `simd_insert` and `simd_extract` `const fn`sFolkert de Vries-10/+10
2025-02-27simplify some imports with `simd::*`Folkert de Vries-9/+2
2025-02-27remove most `simd_` intrinsic declaration in testsFolkert de Vries-508/+204
instead, we can just import the intrinsics from core
2025-02-26Rollup merge of #137559 - folkertdev:run-more-emscripten-tests, r=fmeaseLeón Orell Valerian Liehr-16/+8
run some tests on emscripten again these were ignored because of #45351, but that issue has long been fixed. Let's see if these pass, or if there is some issue lurking still I believe this is the try-job for emscripten? probably a good idea to run that first. ~~try-job: test-various~~ try-job: dist-various-1
2025-02-25Rollup merge of #137595 - folkertdev:remove-simd-pow-powi, r=RalfJungLeón Orell Valerian Liehr-20/+5
remove `simd_fpow` and `simd_fpowi` Discussed in https://github.com/rust-lang/rust/issues/137555 These functions are not exposed from `std::intrinsics::simd`, and not used anywhere outside of the compiler. They also don't lower to particularly good code at least on the major ISAs (I checked x86_64, aarch64, s390x, powerpc), where the vector is just spilled to the stack and scalar functions are used for the actual logic. r? `@RalfJung`
2025-02-25remove `simd_fpow` and `simd_fpowi`Folkert de Vries-20/+5
2025-02-24run some tests on emscripten againFolkert de Vries-16/+8
these were ignored because of #45351, but that issue has long been fixed. Let's see if these pass, or if there is some issue lurking still
2025-02-24rename simd_shuffle_generic → simd_shuffle_const_genericRalf Jung-37/+37
2025-02-02Ported tests/ui/simd to use the intrinsic macrovayunbiyani-273/+432
2024-11-23Add simd_relaxed_fma intrinsicCaleb Zulawski-0/+4
2024-09-14simd_shuffle: require index argument to be a vectorRalf Jung-50/+84
2024-09-09Ban non-array SIMDScott McMurray-312/+300
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-32/+30
2024-05-18compiler: add simd_ctpop intrinsicJubilee Young-21/+38
2024-04-24Fix tests and blessGary Guo-1/+0
2024-04-03rename `expose_addr` to `expose_provenance`joboet-2/+2
2024-03-23also rename the SIMD intrinsicRalf Jung-2/+2
2024-03-23rename ptr::from_exposed_addr -> ptr::with_exposed_provenanceRalf Jung-2/+2
2024-02-25fix use of platform_intrinsics in testsRalf Jung-57/+54
2024-02-21remove simd_reduce_{min,max}_nanlessRalf Jung-6/+0
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-44/+44
2024-01-05Remove revisions for THIR unsafeckMatthew Jasper-2/+0
This is to make the diff when stabilizing it easier to review.
2023-09-18Prototype using const generic for simd_shuffle IDX arrayOli Scherer-14/+94
2023-08-03Forbid old-style `simd_shuffleN` intrinsicsOli Scherer-66/+62
2023-07-30Fix simd_bswap for i8/u8Caleb Zulawski-0/+22
2023-07-28Format testCaleb Zulawski-10/+12
2023-07-27Add SIMD bitreverse, ctlz, cttz intrinsicsCaleb Zulawski-18/+86
2023-07-27Add simd_bswap intrinsicCaleb Zulawski-16/+39
2023-07-18support for mips64r6 as a target_arch valuechenx97-1/+1
2023-02-12Fix unintentional UB in SIMD testsBen Kimock-116/+54
2023-01-11Move /src/test to /testsAlbert Larsan-0/+2525