Files
mop3/kernel/amd64/sse.S
2026-03-07 17:36:09 +01:00

13 lines
183 B
ArmAsm

.global sse_enable
sse_enable:
movq %cr0, %rax
andq $~0x4, %rax
orq $0x2, %rax
movq %rax, %cr0
movq %cr4, %rax
orq $(1 << 9) | (1 << 10), %rax
movq %rax, %cr4
ret