summaryrefslogtreecommitdiff
path: root/src/cpu/x86/sse_enable.inc
blob: 468c118be2c5efe68e8e56c5ab9be487917e3dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* SPDX-License-Identifier: GPL-2.0-only */

	/* Preserve BIST. */
	movl	%eax, %ebp

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

	/* Restore BIST. */
	movl	%ebp, %eax