aboutsummaryrefslogtreecommitdiffstats
path: root/target-alpha/helper.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-07 14:00:24 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-07 14:00:24 +0000
commit57a92c8e36ee9c0774d58c086b76b67ae981e6d4 (patch)
tree171b22f26ec506601d250a6f4b844ac4852e6d4c /target-alpha/helper.c
parente32ad5c268041525bf2e11b339609ec6f6d5ad2b (diff)
target-alpha: fix locked loads/stores
Fix reading of cpu_lock in gen_qemu_stql_c, original patch from Laurent Desnogues. 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. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5645 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-alpha/helper.c')
-rw-r--r--target-alpha/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-alpha/helper.c b/target-alpha/helper.c
index 822db0901..cc94807ef 100644
--- a/target-alpha/helper.c
+++ b/target-alpha/helper.c
@@ -434,5 +434,6 @@ void cpu_dump_state (CPUState *env, FILE *f,
if ((i % 3) == 2)
cpu_fprintf(f, "\n");
}
+ cpu_fprintf(f, "\nlock " TARGET_FMT_lx "\n", env->lock);
}