* [Qemu-devel] [4202] Fix ARM and Thumb ldlex/stlex.
@ 2008-04-13 1:53 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-04-13 1:53 UTC (permalink / raw)
To: qemu-devel
Revision: 4202
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4202
Author: balrog
Date: 2008-04-13 01:53:27 +0000 (Sun, 13 Apr 2008)
Log Message:
-----------
Fix ARM and Thumb ldlex/stlex.
Modified Paths:
--------------
trunk/target-arm/translate.c
Modified: trunk/target-arm/translate.c
===================================================================
--- trunk/target-arm/translate.c 2008-04-13 00:57:49 UTC (rev 4201)
+++ trunk/target-arm/translate.c 2008-04-13 01:53:27 UTC (rev 4202)
@@ -6241,6 +6241,7 @@
if (insn & (1 << 23)) {
/* load/store exclusive */
gen_movl_T1_reg(s, rn);
+ addr = cpu_T[1];
if (insn & (1 << 20)) {
gen_helper_mark_exclusive(cpu_env, cpu_T[1]);
tmp = gen_ld32(addr, IS_USER(s));
@@ -6991,6 +6992,7 @@
} else if ((insn & (1 << 23)) == 0) {
/* Load/store exclusive word. */
gen_movl_T1_reg(s, rn);
+ addr = cpu_T[1];
if (insn & (1 << 20)) {
gen_helper_mark_exclusive(cpu_env, cpu_T[1]);
tmp = gen_ld32(addr, IS_USER(s));
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-13 1:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 1:53 [Qemu-devel] [4202] Fix ARM and Thumb ldlex/stlex Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).