projects
/
coreboot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- Add new cvs code to cvs
[coreboot.git]
/
src
/
cpu
/
p6
/
enable_mmx_sse.inc
1
/* Save the BIST result */
2
movl %eax, %ebp
3
4
/*
5
* Enabling mmx registers is a noop
6
* Enable the use of the xmm registers
7
*/
8
9
/* Enable sse instructions */
10
movl %cr4, %eax
11
orl $(1<<9), %eax
12
movl %eax, %cr4
13
14
/* Disable floating point emulation */
15
movl %cr0, %eax
16
andl $~(1<<2), %eax
17
movl %eax, %cr0
18
19
/* enable sse extension */
20
movl %cr0, %eax
21
andl $~(1<<1), %eax
22
movl %eax, %cr0
23
24
/* Restore the BIST result */
25
movl %ebp, %eax