blob: 907e817325a968dc8ea2624d62895c392870448b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Save the BIST result */
movl %eax, %ebp
/*
* Enabling mmx registers is a noop
* Enable the use of the xmm registers
*/
/* Disable floating point emulation */
movl %cr0, %eax
andl $~(1<<2), %eax
movl %eax, %cr0
/* Enable sse instructions */
movl %cr4, %eax
orl $(1<<9), %eax
movl %eax, %cr4
/* Restore the BIST result */
movl %ebp, %eax
|