[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly. |
Date: |
Thu, 25 Mar 2010 09:29:18 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 |
On 03/25/2010 09:06 AM, Nathan Froyd wrote:
>> Mips doesn't even pretend to be atomic.
>
> It pretends just as much as ppc and arm. See translate.c:OP_ST_ATOMIC.
No it doesn't. Look at HELPER_ST_ATOMIC:
tmp = do_##ld_insn(arg2, mem_idx); \
if (tmp == env->llval) { \
do_##st_insn(arg2, arg1, mem_idx); \
return 1; \
> (The remaining cases are tricky things, like cross-process locks.) I
> think--though Paul would remember better than I--that the stop-the-world
> approach might have been taken due to a desire to continue compiling
> with gcc < 4.1. I don't know how much of a desdirata that still is.
Even that wouldn't be an issue if we move the cmpxchg into TCG.
I'll put this at the end of the enhancement queue...
r~
- [Qemu-devel] [PATCH 02/10] target-alpha: Implement cpys{, n, e} inline., (continued)
- [Qemu-devel] [PATCH 02/10] target-alpha: Implement cpys{, n, e} inline., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 05/10] target-alpha: Implement cvtlq inline., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 06/10] target-alpha: Use setcond for int comparisons., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 07/10] target-alpha: Use non-inverted arguments to gen_{f}cmov., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 03/10] target-alpha: Implement rs/rc properly., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 10/10] target-alpha: Enable NPTL., Richard Henderson, 2010/03/24
- [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly., Richard Henderson, 2010/03/24
- Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly., Blue Swirl, 2010/03/25
- Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly., Richard Henderson, 2010/03/25
- Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly., Jamie Lokier, 2010/03/25
- Re: [Qemu-devel] [PATCH 09/10] target-alpha: Implement load-locked/store-conditional properly., Jamie Lokier, 2010/03/25
[Qemu-devel] [PATCH 08/10] target-alpha: Emit goto_tb opcodes., Richard Henderson, 2010/03/24
Re: [Qemu-devel] [PATCH 00/10, v3] target-alpha improvements, Jamie Lokier, 2010/03/25