Skip to content
  • Aurelien Jarno's avatar
    target-i386: fix {min,max}{pd,ps,sd,ss} SSE2 instructions · a4d1f142
    Aurelien Jarno authored
    
    
    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: default avatarAurelien Jarno <aurelien@aurel32.net>
    a4d1f142