SSE: Difference between revisions

185 bytes added ,  12 years ago
→‎FXSAVE and FXRSTOR: Added some asm code
[unchecked revision][unchecked revision]
(Merged the SSE content)
(→‎FXSAVE and FXRSTOR: Added some asm code)
Line 48:
asm volatile(" fxsave; "::"m"(fxsave_region));
</source>
or in asm:
<source lang="asm">
segment .code
SaveFloats:
fxsave [SavedFloats]
segment .data
align 16
SavedFloats: TIMES 512 db 0
</source>
Pitfalls: only one level of saving supported.
 
=== MXCSR and its helpers LDMXCSR and STMXCSR ===
Anonymous user