qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 28/35] target-arm: emulate LL/SC using cmpxch


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 28/35] target-arm: emulate LL/SC using cmpxchg helpers
Date: Wed, 5 Oct 2016 10:41:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

On 10/05/2016 06:40 AM, Alex Bennée wrote:
I thought you added some of the text back, or is that in a private
re-work branch for v5?

  Added back

  /* Load/Store exclusive instructions are implemented by remembering
     the value/address loaded, and seeing if these are the same
     when the store is performed.  This should be sufficient to implement
     the architecturally mandated semantics, and avoids having to monitor
     regular stores.  The compare vs the remembered value is done during
     the cmpxchg operation, but we must compare the addresses manually.  */

I did, I swear. But I certainly don't see that now. I can only assume some sort of horrible user error overwriting a branch. How annoying.


r~



reply via email to

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