From 57a92c8e36ee9c0774d58c086b76b67ae981e6d4 Mon Sep 17 00:00:00 2001 From: aurel32 Date: Fri, 7 Nov 2008 14:00:24 +0000 Subject: 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 --- target-alpha/helper.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target-alpha/helper.c') diff --git a/target-alpha/helper.c b/target-alpha/helper.c index 822db0901c..cc94807ef9 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); } -- cgit v1.2.1