target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions
commita4d1f142542935b90d2eb30f3aead4edcf455fe6
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 7 Jan 2012 14:20:11 +0000 (7 15:20 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 11 Jan 2012 08:55:28 +0000 (11 09:55 +0100)
treefad1e95c831f915abcc0ee7f794a74fd9c6a5881
parent9841aee16f1e68f5a9063589c898c40b44473add
target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions

minpd, minps, minsd, minss and maxpd, maxps, maxsd, maxss SSE2
instructions have been broken when switching target-i386 to softfloat.
It's not possible to use comparison instructions on float types anymore
to softfloat, so use the floatXX_lt function instead, as the
float_XX_min and float_XX_max functions can't be used due to the Intel
specific behaviour.

As it implements the correct NaNs behaviour, let's remove the
corresponding entry from the TODO.

It fixes GDM screen display on Debian Lenny.

Thanks to Peter Maydell and Jason Wessel for their analysis of the
problem.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/TODO
target-i386/ops_sse.h