qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 2/2] target-m68k: add cas/cas2 ops


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v4 2/2] target-m68k: add cas/cas2 ops
Date: Tue, 8 Nov 2016 14:36:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/08/2016 02:25 PM, Laurent Vivier wrote:
Implement CAS using cmpxchg.
Implement CAS2 using helper and either cmpxchg when
the 32bit addresses are consecutive, or with
parallel_cpus+cpu_loop_exit_atomic() otherwise.

Suggested-by: Richard Henderson <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>
---
 target-m68k/helper.h    |   2 +
 target-m68k/op_helper.c | 109 ++++++++++++++++++++++++++++++++++
 target-m68k/translate.c | 153 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 264 insertions(+)

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

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