diff options
author | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-01-28 12:15:05 +0000 |
---|---|---|
committer | Bastian Koppelmann <kbastian@mail.uni-paderborn.de> | 2015-03-03 01:04:53 +0000 |
commit | 3debbb5af5f63440b170b71bf3aecc0e778f5691 (patch) | |
tree | bf7c6c553a6550f9e4f8f06b182cff0509d56b7b /LICENSE | |
parent | f0cab01b6c9bb9c2f5085837ca86d70d144cca9d (diff) |
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 'LICENSE')
0 files changed, 0 insertions, 0 deletions