summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2011-12-17 14:07:50 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2011-12-17 14:07:50 +0000
commit1771375cd0f0f6cf041212ddfb4ad791726bf20f (patch)
tree71aed7c2b53c770b1c5b93d9c1e6034b830373a1 /sys/arch
parent5abd977d15110b9c6e1f27187da09d082d990af7 (diff)
Initialize the (abridged) tag word correctly.
ok mikeb@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/amd64/amd64/process_machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/process_machdep.c b/sys/arch/amd64/amd64/process_machdep.c
index 5ea4192a7e1..8ad5444a44f 100644
--- a/sys/arch/amd64/amd64/process_machdep.c
+++ b/sys/arch/amd64/amd64/process_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: process_machdep.c,v 1.10 2011/03/20 21:44:08 guenther Exp $ */
+/* $OpenBSD: process_machdep.c,v 1.11 2011/12/17 14:07:49 kettenis Exp $ */
/* $NetBSD: process_machdep.c,v 1.1 2003/04/26 18:39:31 fvdl Exp $ */
/*-
@@ -135,7 +135,7 @@ process_read_fpregs(struct proc *p, struct fpreg *regs)
memset(frame, 0, sizeof(*regs));
frame->fx_fcw = __INITIAL_NPXCW__;
frame->fx_fsw = 0x0000;
- frame->fx_ftw = 0xff;
+ frame->fx_ftw = 0x00;
frame->fx_mxcsr = __INITIAL_MXCSR__;
frame->fx_mxcsr_mask = fpu_mxcsr_mask;
p->p_md.md_flags |= MDP_USEDFPU;