commit | c97e8977dcacb3fa8362ee28bcee75ceb01fceaa | [log] [tgz] |
---|---|---|
author | Zack Buhman <zack@buhman.org> | Fri Apr 05 15:17:39 2024 -1000 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue Apr 09 07:43:31 2024 -1000 |
tree | f40cc4213017d220ec95e3674f0428a8cce12f34 | |
parent | 7d95db5e78a24d3315e3112d26909a7262355cb7 [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>