Re: [Qemu-devel] [RFC v6 08/14] target-arm: Add atomic_clear helper for CLREX insn

2016-01-06 Thread alvise rigo
On Wed, Jan 6, 2016 at 6:13 PM, Alex Bennée wrote: > > Alvise Rigo writes: > >> Add a simple helper function to emulate the CLREX instruction. > > And now I see ;-) > > I suspect this should be merged with the other helpers as a generic helper. Agreed. > >> >> Suggested-by: Jani Kokkonen >> Su

Re: [Qemu-devel] [RFC v6 08/14] target-arm: Add atomic_clear helper for CLREX insn

2016-01-06 Thread Alex Bennée
Alvise Rigo writes: > Add a simple helper function to emulate the CLREX instruction. And now I see ;-) I suspect this should be merged with the other helpers as a generic helper. > > Suggested-by: Jani Kokkonen > Suggested-by: Claudio Fontana > Signed-off-by: Alvise Rigo > --- > target-ar

[Qemu-devel] [RFC v6 08/14] target-arm: Add atomic_clear helper for CLREX insn

2015-12-14 Thread Alvise Rigo
Add a simple helper function to emulate the CLREX instruction. Suggested-by: Jani Kokkonen Suggested-by: Claudio Fontana Signed-off-by: Alvise Rigo --- target-arm/helper.h| 2 ++ target-arm/op_helper.c | 6 ++ target-arm/translate.c | 1 + 3 files changed, 9 insertions(+) diff --git a