diff options
| author | Petar Jovanovic | 2013-07-01 01:54:47 +0200 |
|---|---|---|
| committer | Aurelien Jarno | 2013-07-29 00:27:36 +0200 |
| commit | d36c231f4b7386bd8230aa17d362b925aa419b2f (patch) | |
| tree | 49513570a018c658582d8fb24b88bb8487988489 /include/exec | |
| parent | hw/mips: align initrd to 64KB to avoid kernel error (diff) | |
| download | qemu-d36c231f4b7386bd8230aa17d362b925aa419b2f.tar.gz qemu-d36c231f4b7386bd8230aa17d362b925aa419b2f.tar.xz qemu-d36c231f4b7386bd8230aa17d362b925aa419b2f.zip | |
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
