Skip to content
Snippets Groups Projects
user avatar
Aurelien Jarno authored
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: default avatarAurelien Jarno <aurelien@aurel32.net>
adc71666
History
Name Last commit Last update