summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/pcb.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-07-12 06:32:51 +0000
committerpeter <peter@FreeBSD.org>2001-07-12 06:32:51 +0000
commite00129231d89ad2ab6ec8862931dd864ff079d0c (patch)
treeacb374c639798d8213f972fae7e8609dec013b5f /sys/amd64/include/pcb.h
parentb5164c6585fabc3c848ff92ada3f6ffb64a9e8f2 (diff)
downloadFreeBSD-src-e00129231d89ad2ab6ec8862931dd864ff079d0c.zip
FreeBSD-src-e00129231d89ad2ab6ec8862931dd864ff079d0c.tar.gz
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.
Diffstat (limited to 'sys/amd64/include/pcb.h')
-rw-r--r--sys/amd64/include/pcb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/amd64/include/pcb.h b/sys/amd64/include/pcb.h
index 962fc6f..6ea7c3d 100644
--- a/sys/amd64/include/pcb.h
+++ b/sys/amd64/include/pcb.h
@@ -62,7 +62,8 @@ struct pcb {
int pcb_dr7;
struct pcb_ldt *pcb_ldt; /* per process (user) LDT */
- struct save87 pcb_savefpu; /* floating point state for 287/387 */
+ union savefpu pcb_save;
+#define pcb_savefpu pcb_save.sv_87
u_char pcb_flags;
#define FP_SOFTFP 0x01 /* process using software fltng pnt emulator */
#define PCB_DBREGS 0x02 /* process using debug registers */
OpenPOWER on IntegriCloud