rust/tests
Matthias Krüger 041ecb124a
Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu
Add vsx register support for ppc inline asm, and implement preserves_flag option

This should address the last(?) missing pieces of inline asm for ppc:

* Explicit VSX register support. ISA 2.06 (POWER7) added a 64x128b register overlay extending the fpr's to 128b, and unifies them with the vmx (altivec) registers. Implementations details within gcc/llvm percolate up, and require using the `x` template modifier. I have updated the inline asm to implicitly include this for vsx arguments which do not specify it. ~~Support for the gcc codegen backend is still a todo.~~

* Implement the `preserves_flags` option. All ABI's, and all ISAs store their flags in `cr`, and the carry bit lives inside `xer`. The other status registers hold sticky bits or control bits which do not affect branch instructions.

There is some interest in the e500 (powerpcspe) port. Architecturally, it has a very different FP ISA, and includes a simd extension called SPR (which is not IBM's cell SPE). Notably, it does not have altivec/fpr/vsx registers. It also has an SPE accumulator register which its ABI marks as volatile, but I am not sure if the compiler uses it.
2025-10-15 07:09:54 +02:00
..
assembly-llvm Allow vector-scalar (vs) registers in ppc inline assembly 2025-10-14 09:52:56 -05:00
auxiliary Add test for addrspacecasting global vars 2025-09-03 08:40:51 +02:00
codegen-llvm Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu 2025-10-15 07:09:54 +02:00
codegen-units
coverage Auto merge of #145882 - m-ou-se:format-args-extend-1-arg, r=petrochenkov 2025-09-26 04:34:09 +00:00
coverage-run-rustdoc
crashes Ignoring working crahes test in GCC backend 2025-10-13 15:20:49 +02:00
debuginfo Auto merge of #146414 - GuillaumeGomez:run-test-with-gcc-backend, r=Kobzol 2025-10-14 09:21:23 +00:00
incremental Ignore failing incremental tests for GCC backend 2025-10-13 15:20:49 +02:00
mir-opt Auto merge of #147662 - Zalathar:rollup-j8ci0f2, r=Zalathar 2025-10-14 12:32:31 +00:00
pretty
run-make Rollup merge of #147526 - bjorn3:alloc_shim_weak_shape, r=petrochenkov,RalfJung 2025-10-14 19:47:29 +02:00
run-make-cargo Skip the panic-immediate-abort-works test when cross-compiling 2025-09-22 21:13:38 -04:00
rustdoc Add regression test for doc cfg applied on public items inside private items 2025-09-29 18:08:51 +02:00
rustdoc-gui rustdoc-search: add test case for throbber 2025-10-07 12:59:58 -07:00
rustdoc-js rustdoc: add testcase for traitParent deduplication 2025-10-02 15:29:22 -05:00
rustdoc-js-std fix rustdoc tests broke by trait item filtering 2025-10-02 15:28:00 -05:00
rustdoc-json
rustdoc-ui Improve missing create level error message 2025-10-08 11:35:20 +01:00
ui Rollup merge of #146949 - pmur:murp/improve-ppc-inline-asm, r=Amanieu 2025-10-15 07:09:54 +02:00
ui-fulldeps use declarative macro for #[derive(TryFromU32)] 2025-10-06 14:54:38 +00:00
COMPILER_TESTS.md