rust/tests
许杰友 Jieyou Xu (Joe) 50ef985be2
Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung
import `simd_` intrinsics

In most cases, we can import the simd intrinsics rather than redeclare them. Apparently, most of these tests were written before `std::intrinsics::simd` existed.

There are a couple of exceptions where we can't yet import:

- the intrinsics are not declared as `const fn` in the standard library, causing issues in the `const-eval` tests
- the `simd_shuffle_generic` function is not exposed from `std::intrinsics`
- the `simd_fpow` and `simd_fpowi` functions are not exposed from `std::intrinsics` (removed in https://github.com/rust-lang/rust/pull/137595)
- some tests use `no_core`, and therefore cannot use `std::intrinsics`

r? ```@RalfJung```

cc ```@workingjubilee``` do you have context on why some intrinsics are not exposed?
2025-02-28 22:29:51 +08:00
..
assembly Rollup merge of #137530 - LukasWoodtli:gardena/lw/mips_dwarf, r=jieyouxu 2025-02-24 19:21:48 -05:00
auxiliary use add-core-stubs / minicore for a few more tests 2025-02-16 18:37:50 +01:00
codegen Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung 2025-02-28 22:29:51 +08:00
codegen-units Remove -Zinline-in-all-cgus and clean up CGU partitioning tests 2025-01-27 23:48:47 -05:00
coverage coverage: Add some more cases to tests/coverage/holes.rs 2025-02-19 13:56:20 +11:00
coverage-run-rustdoc
crashes Rollup merge of #137458 - compiler-errors:render-fn, r=fmease 2025-02-23 02:44:20 -05:00
debuginfo Rollup merge of #135354 - Walnut356:msvc_lldb, r=wesleywiser 2025-02-23 02:44:16 -05:00
incremental remove most simd_ intrinsic declaration in tests 2025-02-27 12:22:59 +01:00
mir-opt Rollup merge of #134943 - Shunpoco:116971-mir-opt-issues, r=DianQK 2025-02-28 22:29:48 +08:00
pretty pretty print hir attributes 2025-02-24 14:31:19 +01:00
run-make Rollup merge of #137540 - yotamofek:pr/more-deprecated-test-directives, r=notriddle 2025-02-28 22:29:51 +08:00
rustdoc Move "unused_exter_crate" test from rustdoc-ui to rustdoc 2025-02-27 13:22:46 +00:00
rustdoc-gui Rollup merge of #137539 - GuillaumeGomez:copy-content-tests, r=notriddle 2025-02-25 13:07:34 +01:00
rustdoc-js Rollup merge of #134277 - notriddle:notriddle/inline-into, r=GuillaumeGomez 2024-12-16 20:00:20 +01:00
rustdoc-js-std Remove the common prelude module 2025-02-11 13:04:27 -08:00
rustdoc-json Fix rustdoc and clippy 2025-02-24 14:31:19 +01:00
rustdoc-ui Move "unused_exter_crate" test from rustdoc-ui to rustdoc 2025-02-27 13:22:46 +00:00
ui Rollup merge of #137551 - folkertdev:import-simd-intrinsics, r=RalfJung 2025-02-28 22:29:51 +08:00
ui-fulldeps Auto merge of #137573 - compiler-errors:rollup-noq9yhp, r=compiler-errors 2025-02-25 02:24:40 +00:00
COMPILER_TESTS.md