On Tue, Aug 25, 2026 at 02:35:19AM -0500, Manjunath S Matti wrote:
> The test inspects the 128-bit conversion results through a union of
> two 64-bit halves, and assumes throughout that element [1] holds the
> most significant half and element [0] the least significant one.  That
> is only true on little endian: __float128 and __int128_t are single
> 128-bit scalars, so which array element holds the most significant
> half depends on the target endianness.
> 
> Add MSW/LSW macros for the two halves and use them when reading the
> union.
> 
> Add the missing int128 effective-target requirement, so the -m32 variant
> now reports UNSUPPORTED instead of FAIL.
> 
> Tested on powerpc64-linux-gnu and powerpc64le-linux-gnu.
> 
> 2026-08-24  Manjunath Matti  <[email protected]>
> 
> gcc/testsuite/
>       * gcc.target/powerpc/fp128_conversions.c: New macros
>       defined, use them when reading the union.
>       * gcc.target/powerpc/int_128bit-runnable.c: Require
>       int128 effective target.

As Jeevitha says add the 'PR target/125966' line to the ChangeLog entry.

And as she says it would be helpful at some point to fix the test to
use || instead of &&.

At the very least, add the PR target line before committing the change.

-- 
Michael Meissner, IBM
PO Box 98, Ayer, Massachusetts, USA, 01432
email: [email protected]

Reply via email to