Re: [PATCH] include/qemu/atomic128: Support 16-byte atomic read/write for Intel AVX

2022-10-10 Thread Richard Henderson
On 10/10/22 02:49, Peter Maydell wrote: On Sat, 8 Oct 2022 at 16:38, Richard Henderson wrote: Intel has now given guarantees about the atomicity of SSE read and write instructions on cpus supporting AVX. We can use these instead of the much slower cmpxchg16b. Derived from

Re: [PATCH] include/qemu/atomic128: Support 16-byte atomic read/write for Intel AVX

2022-10-10 Thread Peter Maydell
On Sat, 8 Oct 2022 at 16:38, Richard Henderson wrote: > > Intel has now given guarantees about the atomicity of SSE read > and write instructions on cpus supporting AVX. We can use these > instead of the much slower cmpxchg16b. > > Derived from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688

Re: [PATCH] include/qemu/atomic128: Support 16-byte atomic read/write for Intel AVX

2022-10-08 Thread Richard Henderson
On 10/8/22 08:36, Richard Henderson wrote: Intel has now given guarantees about the atomicity of SSE read and write instructions on cpus supporting AVX. We can use these instead of the much slower cmpxchg16b. Derived from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Signed-off-by:

[PATCH] include/qemu/atomic128: Support 16-byte atomic read/write for Intel AVX

2022-10-08 Thread Richard Henderson
Intel has now given guarantees about the atomicity of SSE read and write instructions on cpus supporting AVX. We can use these instead of the much slower cmpxchg16b. Derived from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104688 Signed-off-by: Richard Henderson --- Paolo, we probably ought