The late-combine pass removes some unnecessary register copying in
bf16_vstn_1.c, copying that was expected by vst3q_bf16. Adjust the
expectations so that they match the better code we get now.
Regstrapped on x86_64-linux-gnu. Also tested with aarch64-elf and
arm-eabi with gcc-15. Ok to install?
for gcc/testsuite/ChangeLog
* gcc.target/arm/simd/bf16_vstn_1.c: Adjust expectations for
code improved by late-combine.
---
gcc/testsuite/gcc.target/arm/simd/bf16_vstn_1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.target/arm/simd/bf16_vstn_1.c
b/gcc/testsuite/gcc.target/arm/simd/bf16_vstn_1.c
index 5c6cdd5e43e50..ac90a53218a3c 100644
--- a/gcc/testsuite/gcc.target/arm/simd/bf16_vstn_1.c
+++ b/gcc/testsuite/gcc.target/arm/simd/bf16_vstn_1.c
@@ -46,7 +46,7 @@ test_vst3_bf16 (bfloat16_t *ptr, bfloat16x4x3_t val)
/*
**test_vst3q_bf16:
** ...
-** vst3.16 {d17, d19, d21}, \[r0\]
+** vst3.16 {d1, d3, d5}, \[r0\]
** bx lr
*/
void
--
Alexandre Oliva, happy hacker https://blog.lx.oliva.nom.br/
Free Software Activist FSFLA co-founder GNU Toolchain Engineer
More tolerance and less prejudice are key for inclusion and diversity.
Excluding neuro-others for not behaving ""normal"" is *not* inclusive!