[PATCH v2] Revert __HAVE_64B_ATOMICS configure check
H.J. Lu
hjl.tools@gmail.com
Thu Nov 13 22:44:53 GMT 2025
On Fri, Nov 14, 2025 at 6:42 AM Wilco Dijkstra <Wilco.Dijkstra@arm.com> wrote:
>
> Hi HJ,
>
> > This is wrong for x32 which has 64-bit atomic and __WORDSIZE == 32.
>
> Why would it be wrong? If 'long' is 4-byte aligned, it has the same issue
Did you mean "long long"? On x32, long is 4-byte.
> as 32-bit x86. You need full support for unaligned 64-bit atomics before
> you can turn it on.
The only difference between x32 and x86-64 is the size of long. If
x86-64 supports 64-bit atomics, so does x32.
> Cheers,
> Wilco
--
H.J.
More information about the Libc-alpha
mailing list