[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH] target-arm: fix SMMLA/SMMLS instructions
From: |
Peter Maydell |
Subject: |
[Qemu-devel] Re: [PATCH] target-arm: fix SMMLA/SMMLS instructions |
Date: |
Thu, 6 Jan 2011 19:00:09 +0000 |
On 6 January 2011 18:53, Aurelien Jarno <address@hidden> wrote:
> SMMLA and SMMLS are broken on both in normal and thumb mode, that is
> both (different) implementations are wrong. They try to avoid a 64-bit
> add for the rounding, which is not trivial if you want to support both
> SMMLA and SMMLS with the same code.
>
> The code below uses the same implementation for both modes, using the
> code from the ARM manual. It also fixes the thumb decoding that was a
> mix between normal and thumb mode.
>
> This fixes the issues reported in
> https://bugs.launchpad.net/qemu/+bug/629298
>
> v2: improve comments with the help from Peter Maydell.
>
> Cc: Peter Maydell <address@hidden>
> Signed-off-by: Aurelien Jarno <address@hidden>
Confirmed that this is just comment changes since v1, and it
still passes the tests. So:
Reviewed-by: Peter Maydell <address@hidden>
-- PMM