13 lines
183 B
ArmAsm
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
|