target-alpha: fix locked loads/stores
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 7 Nov 2008 14:00:24 +0000 (14:00 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 7 Nov 2008 14:00:24 +0000 (14:00 +0000)
commit57a92c8e36ee9c0774d58c086b76b67ae981e6d4
tree171b22f26ec506601d250a6f4b844ac4852e6d4c
parente32ad5c268041525bf2e11b339609ec6f6d5ad2b
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
target-alpha/translate.c