[Bug target/104688] gcc and libatomic can use SSE for 128-bit atomic loads on Intel and AMD CPUs with AVX

xry111 at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 23 09:18:31 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688

--- Comment #20 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
>From Mayshao (Zhaoxin engineer):

"On Zhaoxin CPUs with AVX, the VMOVDQA instruction is atomic if the accessed
memory is Write Back, but it's not guaranteed for other memory types."

Is it allowed to use VMOVDQA then?


More information about the Gcc-bugs mailing list