]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Fix sign-extension for SMLAL*
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 22 Oct 2019 15:50:35 +0000 (16:50 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 22 Oct 2019 15:50:35 +0000 (16:50 +0100)
commit1ab170865202aab8301131f31bffd87ea0f60d16
tree5ecf9cdb3df0b9f15253de46e85643e975e77efa
parentf9bec781379dd7ccf9d01b4b6a79a9ec82c192e5
target/arm: Fix sign-extension for SMLAL*

The 32-bit product should be sign-extended, not zero-extended.

Fixes: ea96b374641b
Reported-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20190912183058.17947-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c