summaryrefslogtreecommitdiff
path: root/src/cpu/x86/sse_enable.inc
blob: 95724b71f7705eeb5537e599471bfe06cc139cd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
	/* preserve BIST in %eax */
	movl %eax, %ebp

	/*
	 * Enable the use of the xmm registers
	 */

	/* Enable sse instructions */
	movl	%cr4, %eax
	orl	$(1<<9), %eax
	movl	%eax, %cr4

	movl	%ebp, %eax