972
edits
[unchecked revision] | [unchecked revision] |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 12:
=== Checking for SSE ===
to check for SSE CPUID.01h:EDX.SSE[bit 25] needs to be set
<
mov eax, 0x1
cpuid
Line 18:
jz .noSSE
;SSE is available
</syntaxhighlight>
=== Adding support ===
Line 28:
Here is an asm example:
<
;now enable SSE and the like
mov eax, cr0
Line 38:
mov cr4, eax
ret
</syntaxhighlight>
=== FXSAVE and FXRSTOR ===
|