[PATCH for-9.0 v3 0/4] target/sh4: Fix mac.[lw]

Richard Henderson posted 4 patches 3 weeks, 5 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240406053732.191398-1-richard.henderson@linaro.org
Maintainers: Yoshinori Sato <ysato@users.sourceforge.jp>
target/sh4/cpu.h              | 14 ++++++--
target/sh4/helper.h           |  4 +--
target/sh4/op_helper.c        | 51 +++++++++++++++-----------
target/sh4/translate.c        |  4 +--
tests/tcg/sh4/test-macl.c     | 67 +++++++++++++++++++++++++++++++++++
tests/tcg/sh4/test-macw.c     | 61 +++++++++++++++++++++++++++++++
tests/tcg/sh4/Makefile.target |  8 +++++
7 files changed, 182 insertions(+), 27 deletions(-)
create mode 100644 tests/tcg/sh4/test-macl.c
create mode 100644 tests/tcg/sh4/test-macw.c
[PATCH for-9.0 v3 0/4] target/sh4: Fix mac.[lw]
Posted by Richard Henderson 3 weeks, 5 days ago
Zack's recent patches, tidied a little bit, and with
test cases added.

r~


Richard Henderson (1):
  target/sh4: Merge mach and macl into a union

Zack Buhman (3):
  target/sh4: mac.w: memory accesses are 16-bit words
  target/sh4: Fix mac.l with saturation enabled
  target/sh4: Fix mac.w with saturation enabled

 target/sh4/cpu.h              | 14 ++++++--
 target/sh4/helper.h           |  4 +--
 target/sh4/op_helper.c        | 51 +++++++++++++++-----------
 target/sh4/translate.c        |  4 +--
 tests/tcg/sh4/test-macl.c     | 67 +++++++++++++++++++++++++++++++++++
 tests/tcg/sh4/test-macw.c     | 61 +++++++++++++++++++++++++++++++
 tests/tcg/sh4/Makefile.target |  8 +++++
 7 files changed, 182 insertions(+), 27 deletions(-)
 create mode 100644 tests/tcg/sh4/test-macl.c
 create mode 100644 tests/tcg/sh4/test-macw.c

-- 
2.34.1