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