On Fri, Sep 04, 2026 at 04:13:57PM +0530, Avinash Jayakar wrote: > From: Avinash Jayakar <avinashd@[email protected]> > > Hi, > > Following patch fixes some BE failures on power10. Kindly review. > > The updated tests pass both in powerpc64 and powerpc64le. Ok for trunk? > > Thanks and regards, > Avinash Jayakar > > The following tests: > gcc.target/powerpc/vsx-load-element-extend-int.c > gcc.target/powerpc/vsx-load-element-extend-longlong.c > gcc.target/powerpc/vsx-load-element-extend-short.c > gcc.target/powerpc/vsx-store-element-truncate-longlong.c > > Failed on power10 BE target. One of the main reason being loading and > storing elements that cross the border of the types. This would give > different results in LE and BE systems, and hence the expected results > were wrong. > > This patch corrects the inputs to these tests with proper types, so that > expected results in both systems are the same. > > Few helper functions which printed the inputs and expected values with > VERBOSE flags were incorrect. This patch corrects this to print proper > values in both LE and BE system. > > 2026-09-04 Avinash Jayakar <[email protected]> > > gcc/testsuite/ChangeLog: > PR testsuite/127189 > * gcc.target/powerpc/vsx-load-element-extend-int.c: > * gcc.target/powerpc/vsx-load-element-extend-longlong.c: > * gcc.target/powerpc/vsx-load-element-extend-short.c: > * gcc.target/powerpc/vsx-store-element-truncate-longlong.c:
This is ok for the master branch. -- Michael Meissner, IBM PO Box 98, Ayer, Massachusetts, USA, 01432 email: [email protected]
