summaryrefslogtreecommitdiff
path: root/src/cpu/x86/sse
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2009-10-17 15:01:00 +0000
committerPeter Stuge <peter@stuge.se>2009-10-17 15:01:00 +0000
commitd08be7eecdfd3ee5adff11341a4b7510e7d004dd (patch)
treeb7a71af2b846b8ef85cd5a2d0edd407eb9aeb0d1 /src/cpu/x86/sse
parent0bc615482e34af308712be970479aeb613f5fa41 (diff)
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
Diffstat (limited to 'src/cpu/x86/sse')
-rw-r--r--src/cpu/x86/sse/disable_sse.inc18
-rw-r--r--src/cpu/x86/sse/enable_sse.inc14
2 files changed, 0 insertions, 32 deletions
diff --git a/src/cpu/x86/sse/disable_sse.inc b/src/cpu/x86/sse/disable_sse.inc
deleted file mode 100644
index a18ea18643..0000000000
--- a/src/cpu/x86/sse/disable_sse.inc
+++ /dev/null
@@ -1,18 +0,0 @@
- /*
- * Put the processor back into a reset state
- * with respect to the xmm registers.
- */
-
- xorps %xmm0, %xmm0
- xorps %xmm1, %xmm1
- xorps %xmm2, %xmm2
- xorps %xmm3, %xmm3
- xorps %xmm4, %xmm4
- xorps %xmm5, %xmm5
- xorps %xmm6, %xmm6
- xorps %xmm7, %xmm7
-
- /* Disable sse instructions */
- movl %cr4, %eax
- andl $~(3<<9), %eax
- movl %eax, %cr4
diff --git a/src/cpu/x86/sse/enable_sse.inc b/src/cpu/x86/sse/enable_sse.inc
deleted file mode 100644
index 95724b71f7..0000000000
--- a/src/cpu/x86/sse/enable_sse.inc
+++ /dev/null
@@ -1,14 +0,0 @@
- /* 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
-