qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register
@ 2007-03-15 19:35 Lauro Ramos Venancio
  2007-03-15 19:43 ` [Qemu-devel] " Lauro Ramos Venancio
  2007-03-15 20:03 ` [Qemu-devel] " Paul Brook
  0 siblings, 2 replies; 9+ messages in thread
From: Lauro Ramos Venancio @ 2007-03-15 19:35 UTC (permalink / raw)
  To: qemu-devel

Qemu-arm is wrongly executing post-indexed loads when Rm and Rd are
the same register. For example:

ldr r0, [r1], +r0

Current behavior:
r0 <- [r1]
r1 <- r1 + r0

Expected behavior:
addr <- r1
r1 <- r1 + r0
r0 <- [addr]

The attached patch fixes this bug. Patched by me and Rodrigo Vivi.
This patch was made based on qemu 0.9.


Lauro Venancio

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-03-16 20:44 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 19:35 [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register Lauro Ramos Venancio
2007-03-15 19:43 ` [Qemu-devel] " Lauro Ramos Venancio
2007-03-15 20:03 ` [Qemu-devel] " Paul Brook
2007-03-15 20:32   ` Rodrigo Vivi
2007-03-15 21:10     ` Paul Brook
2007-03-15 21:19       ` Rodrigo Vivi
2007-03-15 21:55       ` Laurent Desnogues
2007-03-15 22:04         ` Paul Brook
2007-03-16 20:42           ` Lauro Ramos Venancio

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).