On Wed, 01 May 2024 01:31:22 +0900,
Philippe Mathieu-Daudé wrote:
>
> The documentation says:
>
> ADDV Rm, RnRn + Rm -> Rn, overflow -> T
>
> But QEMU implementation was:
>
> ADDV Rm, RnRn + Rm -> Rm, overflow -> T
>
> Fix by filling the correct Rm register.
>
> Add tests
The documentation says:
ADDV Rm, RnRn + Rm -> Rn, overflow -> T
But QEMU implementation was:
ADDV Rm, RnRn + Rm -> Rm, overflow -> T
Fix by filling the correct Rm register.
Add tests provided by Paul Cercueil.
Cc: qemu-sta...@nongnu.org
Fixes: ad8d25a11f ("target-sh4: impl