Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2004 19:16:23 +1000
From:      Tim Robbins <tim@robbins.dropbear.id.au>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/amd64/amd64 fpu.c
Message-ID:  <20040606091623.GA33323@cat.robbins.dropbear.id.au>
In-Reply-To: <20040606081221.GA11314@walton.maths.tcd.ie>
References:  <200406050313.i553Dd3q070600@repoman.freebsd.org> <20040606081221.GA11314@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 06, 2004 at 09:12:21AM +0100, David Malone wrote:

> On Fri, Jun 04, 2004 at 08:13:39PM -0700, David Schultz wrote:
> >   Modified files:
> >     sys/amd64/amd64      fpu.c 
> >   Log:
> >   Initialize the MXCSR to the appropriate default value at startup.
> 
> This seems to result in a "Fault trap 1: privileged instrustion
> fault while in the kernel" while executing the ldmscsr instruction.
> If I comment it out, everything works fine again.
> 
> >   Tested on:      tjr
> 
> This must be a situation where testing on humans is bad ;-)

It works fine here.

CPU: AMD Athlon(tm) 64 Processor 3000+ (2002.57-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf48  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>


Tim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040606091623.GA33323>