• A
    target-i386: fix SSE rounding and flush to zero · 2355c16e
    Aurelien Jarno 提交于
    SSE rounding and flush to zero control has never been implemented. However
    given that softfloat-native was using a single state for FPU and SSE and
    given that glibc is setting both FPU and SSE state in fesetround(), this
    was working correctly up to the switch to softfloat.
    
    Fix that by adding an update_sse_status() function similar to
    update_fpu_status(), and callin git on write to mxcsr.
    Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
    2355c16e
helper.h 6.3 KB