qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: qemu-arm: wrong execution of post-indexed loads when Rm


From: Lauro Ramos Venancio
Subject: [Qemu-devel] Re: qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register
Date: Thu, 15 Mar 2007 16:43:50 -0300

Now sending the attachment. :)

Lauro 

On Thu, 2007-03-15 at 16:35 -0300, Lauro Ramos Venancio wrote:
> 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

Attachment: 00_ldr_writeback.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]