[PATCH] libgcc: Use UTItype with mode(TI) for 16-byte atomics

Andreas Schwab schwab@linux-m68k.org
Thu Dec 25 09:20:06 GMT 2025


On Dez 25 2025, Xin Wang via Gcc wrote:

> diff --git a/libgcc/sync.c b/libgcc/sync.c
> index f2d35ecf1e0..a94482a0864 100644
> --- a/libgcc/sync.c
> +++ b/libgcc/sync.c
> @@ -151,8 +151,8 @@ DEFINE (FN, 8, UDItype)
>  
>  #elif SIZE == 16 && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
>  
> -typedef unsigned int UOItype __attribute__((mode (OI)));
> -DEFINE (FN, 8, UOItype)
> +typedef unsigned int UTItype __attribute__((mode (TI)));
> +DEFINE (FN, 16, UTItype)

The preceding comment is no longer accurate.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


More information about the Gcc mailing list