summaryrefslogtreecommitdiff
path: root/src/cpu/x86/fpu_enable.inc
blob: bd7a7ff63071cba1077a8ca3c00496677fe56204 (plain)
1
2
3
4
5
6
7
8
9
10
	/* preserve BIST in %eax */
__fpu_start:
	movl %eax, %ebp

	/* Disable floating point emulation */
	movl	%cr0, %eax
	andl	$~(1<<2), %eax
	movl	%eax, %cr0

	movl %ebp, %eax