On 21 March 2016 at 09:06, Paolo Bonzini <pbonz...@redhat.com> wrote:
> x86 can actually do 64-bit atomic loads and stores through the FPU, but
> I'm not sure about other 32-bit targets?

As I say, ppc32 linux is one that can't -- see commit 8a5956ad6392f1155
for last time this came up.

Ideally we should put a compile-time assert in the atomic ops that
the data being operated on isn't larger than sizeof(void*) so that
this is a compile time error on all 32-bit hosts rather than just
a small subset of them.

thanks
-- PMM

Reply via email to