summaryrefslogtreecommitdiff
path: root/src/cpu/x86/sse_enable.inc
blob: 541b83dcb5ca80a9925c10779c1366747ea37a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

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

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

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