qemu-e2k/tests/tcg/mips
Petar Jovanovic d36c231f4b target-mips: fix mipsdsp_trunc16_sat16_round
This change corrects rounding and saturation of Q31 fractional value in
mipsdsp_trunc16_sat16_round(). Overflow detection was incorrect for the
corner case for PRECRQ_RS.PH, and this test case is also part of the change.

Signed-off-by: Petar Jovanovic <petar.jovanovic@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2013-07-29 00:27:36 +02:00
..
mips32-dsp target-mips: fix mipsdsp_trunc16_sat16_round 2013-07-29 00:27:36 +02:00
mips32-dspr2
mips64-dsp
mips64-dspr2