diff options
author | Zack Buhman <zack@buhman.org> | 2024-04-05 15:17:39 -1000 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-04-10 20:32:12 +0300 |
commit | 77e03229ca4eaa3d9cf44ec34ebf887213d11dc7 (patch) | |
tree | cf0107b7cb304358a0adb05536aea573895120d3 /audio/audio.h | |
parent | 7fc1bcb65fb66b59b9cf8c2b1584713ef2db8741 (diff) |
target/sh4: Fix mac.l with saturation enabled
The saturation arithmetic logic in helper_macl is not correct.
I tested and verified this behavior on a SH7091.
Signed-off-by: Zack Buhman <zack@buhman.org>
Message-Id: <20240404162641.27528-2-zack@buhman.org>
[rth: Reformat helper_macl, add a test case.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit c97e8977dcacb3fa8362ee28bcee75ceb01fceaa)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'audio/audio.h')
0 files changed, 0 insertions, 0 deletions