diff options
author | Zack Buhman <zack@buhman.org> | 2024-04-05 17:11:47 -1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-04-09 07:43:31 -1000 |
commit | 7227c0cd506eaab5b1d89d15832cac7e05ecb412 (patch) | |
tree | 8b3e6d9d0ca14105c8ef063827e5cd18481449c1 /scripts/qapi/parser.py | |
parent | c97e8977dcacb3fa8362ee28bcee75ceb01fceaa (diff) | |
download | qemu-7227c0cd506eaab5b1d89d15832cac7e05ecb412.zip qemu-7227c0cd506eaab5b1d89d15832cac7e05ecb412.tar.gz qemu-7227c0cd506eaab5b1d89d15832cac7e05ecb412.tar.bz2 |
target/sh4: Fix mac.w with saturation enabled
The saturation arithmetic logic in helper_macw is not correct.
I tested and verified this behavior on a SH7091.
Reviewd-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Zack Buhman <zack@buhman.org>
Message-Id: <20240405233802.29128-3-zack@buhman.org>
[rth: Reformat helper_macw, add a test case.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions