Skip to contentSkip to conversation

x86 mxcsr register

Qemu-devel andrzej zaborowski 1 participant 1 message Oct 1, 2008

lore
Share & tools
lore
#0 lore raw

Hi,
seemingly the various MMX/SSE floating point instruction should keep
the fpu's state in the "mxcsr" register (for example rounding mode). Currently they use env->sse_status for that, but there's also env->mxcsr that appears to be unused except for ldmxcsr/stmxcsr. I don't know if I'm looking in the right places. Maybe the idea was that mxcsr should be synchronised to sse_status everytime mxcsr needs to be used directly?

Cheers