mbox series

[v3,0/4] target/sh4: Fix ADDV/SUBV opcodes

Message ID 20240430145614.76475-1-philmd@linaro.org
Headers show
Series target/sh4: Fix ADDV/SUBV opcodes | expand

Message

Philippe Mathieu-Daudé April 30, 2024, 2:56 p.m. UTC
Since v2:
- Add tests (Paul)
- Rename TCGv variables as in manual

Philippe Mathieu-Daudé (4):
  target/sh4: Fix ADDV opcode
  target/sh4: Fix SUBV opcode
  target/sh4: Rename TCGv variables as manual for ADDV opcode
  target/sh4: Rename TCGv variables as manual for SUBV opcode

 target/sh4/translate.c        | 32 ++++++++++++++++++++------------
 tests/tcg/sh4/test-addv.c     | 23 +++++++++++++++++++++++
 tests/tcg/sh4/test-subv.c     | 26 ++++++++++++++++++++++++++
 tests/tcg/sh4/Makefile.target |  6 ++++++
 4 files changed, 75 insertions(+), 12 deletions(-)
 create mode 100644 tests/tcg/sh4/test-addv.c
 create mode 100644 tests/tcg/sh4/test-subv.c

Comments

Richard Henderson April 30, 2024, 3:42 p.m. UTC | #1
On 4/30/24 07:56, Philippe Mathieu-Daudé wrote:
> Philippe Mathieu-Daudé (4):
>    target/sh4: Fix ADDV opcode
>    target/sh4: Fix SUBV opcode
>    target/sh4: Rename TCGv variables as manual for ADDV opcode
>    target/sh4: Rename TCGv variables as manual for SUBV opcode

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~