qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Alpha: fix locked loads/stores


From: Laurent Desnogues
Subject: [Qemu-devel] [PATCH] Alpha: fix locked loads/stores
Date: Fri, 7 Nov 2008 12:34:29 +0100

Hello,

this patch is based on Vince Weaver patch for locked loads/stores.
It was checked against Alpha architecture manual.

Two fixes were done to Vince's patch:

   - use a comparison to 1 for lock instead of 0 to be closer to the
     Alpha spec
   - fix reading of cpu_lock in gen_qemu_stql_c.

On top of Vince's modifications, a new flag was added to
gen_store_mem to allocate local temps instead of temps;  this flag
should be set when the tcg_gen_qemu_store callback uses brcond
before using the temps or else liveness analysis will get rid of the
temps.

This also adds lock printing in cpu_dump_state which can help
debug.


Laurent

Signed-off-by: Laurent Desnogues <address@hidden>

Attachment: alpha-ld-st-lock.patch
Description: Text Data


reply via email to

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