Skip to content
Snippets Groups Projects
Commit 2355c16e authored by Aurelien Jarno's avatar Aurelien Jarno
Browse files

target-i386: fix SSE rounding and flush to zero


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: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 170d5b4b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment