diff options
author | Bastian Koppelmann | 2015-01-28 13:15:05 +0100 |
---|---|---|
committer | Bastian Koppelmann | 2015-03-03 02:04:53 +0100 |
commit | 3debbb5af5f63440b170b71bf3aecc0e778f5691 (patch) | |
tree | bf7c6c553a6550f9e4f8f06b182cff0509d56b7b /hw/display/cg3.c | |
parent | target-tricore: Fix RLC_ADDI, RLC_ADDIH using wrong microcode helper (diff) | |
download | qemu-3debbb5af5f63440b170b71bf3aecc0e778f5691.tar.gz qemu-3debbb5af5f63440b170b71bf3aecc0e778f5691.tar.xz qemu-3debbb5af5f63440b170b71bf3aecc0e778f5691.zip |
target-tricore: fix msub32_suov return wrong results
If the signed result of the multiplication overflows, we would get a negative
value, which would result in a addition instead of a subtraction.
Now we do the overflow calculation and saturation by hand instead of using
suov32_neg.
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'hw/display/cg3.c')
0 files changed, 0 insertions, 0 deletions