[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register |
Date: |
Thu, 15 Mar 2007 20:03:20 +0000 |
User-agent: |
KMail/1.9.5 |
On Thursday 15 March 2007 19:35, 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]
This is still wrong. The writeback must happen after the load. Your
implementation will give incorrect results if the load faults.
Paul
- [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Lauro Ramos Venancio, 2007/03/15
- [Qemu-devel] Re: qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Lauro Ramos Venancio, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register,
Paul Brook <=
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Rodrigo Vivi, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Paul Brook, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Rodrigo Vivi, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Laurent Desnogues, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Paul Brook, 2007/03/15
- Re: [Qemu-devel] qemu-arm: wrong execution of post-indexed loads when Rm and Rd are the same register, Lauro Ramos Venancio, 2007/03/16