From owner-freebsd-smp Mon Feb 3 09:09:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA08419 for smp-outgoing; Mon, 3 Feb 1997 09:09:13 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id JAA08381 for ; Mon, 3 Feb 1997 09:07:57 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.12/8.6.12) with SMTP id KAA16028 for ; Mon, 3 Feb 1997 10:06:43 -0700 Message-Id: <199702031706.KAA16028@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: smp@FreeBSD.ORG Subject: Re: Current SMP status inquiry In-reply-to: Your message of "Mon, 03 Feb 1997 09:30:23 MST." <199702031630.JAA15825@clem.systemsix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Feb 1997 10:06:43 -0700 Sender: owner-smp@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Hi, > >It looks to me that the problem with the fpu stuff might be more a > >function of FPU error handling (irq13 vs. IDT trap #16) rather than just > >plain floating point operations... > > I agree, and think that someone could find it by examining what goes on > in i386/isa/npx.c:mpxintr(). A further thought, its possible that it could be APIC_IO related, could someone run this program on both an APIC_IO and non APIC_IO kernel to see if it locks both (I don't have an SMP machine anymore)? > ======================================================================== > #include > #include > void blech() { exit(3); } > main() > { > int i32; > double f; > int result = 0; > signal(SIGFPE, blech); > > f = (double) 0x7fffffff; > f = 10 * f; > i32 = (int) f; > > if (i32 != (int) f) > result |= 1; > exit(result); > } > ======================================================================== -- Steve Passe | powered by smp@csn.net | FreeBSD