aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/support.S
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-07-12 06:32:51 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-07-12 06:32:51 +0000
commit9d146ac5d13596cd53887a83ed50fe87a4e2a551 (patch)
treeacb374c639798d8213f972fae7e8609dec013b5f /sys/amd64/amd64/support.S
parent5e06480c9fa1de2235c535748efe0a9cc17c5554 (diff)
downloadsrc-9d146ac5d13596cd53887a83ed50fe87a4e2a551.tar.gz
src-9d146ac5d13596cd53887a83ed50fe87a4e2a551.zip
Activate SSE/SIMD. This is the extra context switching support that
we are required to do if we let user processes use the extra 128 bit registers etc. This is the base part of the diff I got from: http://www.issei.org/issei/FreeBSD/sse.html I believe this is by: Mr. SUZUKI Issei <issei@issei.org> SMP support apparently by: Takekazu KATO <kato@chino.it.okayama-u.ac.jp> Test code by: NAKAMURA Kazushi <kaz@kobe1995.net>, see http://kobe1995.net/~kaz/FreeBSD/SSE.en.html I have fixed a couple of style(9) deviations. I have some followup commits to fix a couple of non-style things.
Notes
Notes: svn path=/head/; revision=79609
Diffstat (limited to 'sys/amd64/amd64/support.S')
-rw-r--r--sys/amd64/amd64/support.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 321877432488..55bc29ce7311 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -976,7 +976,7 @@ ENTRY(i586_copyin)
ENTRY(fastmove)
pushl %ebp
movl %esp,%ebp
- subl $PCB_SAVEFPU_SIZE+3*4,%esp
+ subl $PCB_SAVE87_SIZE+3*4,%esp
movl 8(%ebp),%ecx
cmpl $63,%ecx
@@ -1018,7 +1018,7 @@ ENTRY(fastmove)
movl PCPU(CURPCB),%esi
addl $PCB_SAVEFPU,%esi
cld
- movl $PCB_SAVEFPU_SIZE>>2,%ecx
+ movl $PCB_SAVE87_SIZE>>2,%ecx
rep
movsl
movl -12(%ebp),%ecx
@@ -1102,7 +1102,7 @@ fastmove_loop:
addl $PCB_SAVEFPU,%edi
movl %esp,%esi
cld
- movl $PCB_SAVEFPU_SIZE>>2,%ecx
+ movl $PCB_SAVE87_SIZE>>2,%ecx
rep
movsl
movl -12(%ebp),%ecx
@@ -1147,7 +1147,7 @@ fastmove_fault:
addl $PCB_SAVEFPU,%edi
movl %esp,%esi
cld
- movl $PCB_SAVEFPU_SIZE>>2,%ecx
+ movl $PCB_SAVE87_SIZE>>2,%ecx
rep
movsl