Move files from src/cpu/x86/{fpu,mmx,sse}/ to x86/
Signed-off-by: Peter Stuge <peter@stuge.se> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4803 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
10
src/cpu/x86/fpu_enable.inc
Normal file
10
src/cpu/x86/fpu_enable.inc
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user