diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-01-07 15:20:11 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-01-11 09:55:28 +0100 |
commit | adc7166611ed7240434b60b915f4c116c4c70820 (patch) | |
tree | 2e0f3eb0ee76d6cbb6a91c2e9cf0cd04108fd28b /buffered_file.h | |
parent | a4d1f142542935b90d2eb30f3aead4edcf455fe6 (diff) |
target-i386: fix round{pd,ps,sd,ss} SSE2 instructions
roundps and roundss SSE2 instructions have been broken when switching
target-i386 to softfloat. They use float64_round_to_int to convert a
float32, and while the implicit conversion from float32 to float64 was
correct for softfloat-native, it is not for pure softfloat. Fix that by
using the correct registers and correct functions.
Also fix roundpd and roundsd implementation at the same time, even if
these functions are behaving correctly.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'buffered_file.h')
0 files changed, 0 insertions, 0 deletions