https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127175
Bug ID: 127175
Summary: rs6000: vec-replace-word-runnable tests fail on BE
target
Product: gcc
Version: 16.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: avinashd at gcc dot gnu.org
Reporter: avinashd at gcc dot gnu.org
CC: jskumari at gcc dot gnu.org, meissner at gcc dot gnu.org
Target Milestone: ---
Target: powerpc64, rs6000
[ ] gcc.target/powerpc/vec-replace-word-runnable_1.c
[ ] gcc.target/powerpc/vec-replace-word-runnable_2.c
tests fail on powerpc64 BE target.
In particular the expected results for vec_replace_unaligned, are different for
BE target. Based on the documentation of this intrinsic in gcc,
https://gcc.gnu.org/onlinedocs/gcc/PowerPC-AltiVec-Built-in-Functions-Available-on-ISA-3_002e1.html
"The programmer is responsible for understanding the endianness issues involved
with the first argument and the result."
Therefore, we need to update the tests with different expected results for BE
target.