qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targ


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [FreeBSD] Host build i386 failing to build aarch64 targets
Date: Mon, 21 Mar 2016 12:23:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0


On 21/03/2016 10:35, Peter Maydell 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.

Yes, I remember that.  Loads and stores are different from RMW
operations, though.

> 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.

Yes, I will do it if Alex doesn't beat me to it.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]