[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX
rth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 10 16:57:19 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688
--- Comment #36 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to Mayshao-oc from comment #34)
> (In reply to Jakub Jelinek from comment #17)
> > Fixed for AMD on the library side too.
> > We need a statement from Zhaoxin and VIA for their CPUs.
>
> Sorry for the late reply.
> We guarantee that VMOVDQA will be an atomic load or store provided 128 bit
> aligned address in Zhaoxin processors, provided that the memory type is WB.
> Can we extend this patch to Zhaoxin processors as well?
Is VMOVDQU atomic, provided the address is aligned in Zhaoxin processors?
In QEMU, we make use of this additional guarantee from AMD.
We also reference this gcc bugzilla entry for documentation. :-)
More information about the Gcc-bugs
mailing list