Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Dec 1998 11:40:55 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Mark Tinguely <tinguely@plains.NoDak.edu>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: 3.0 and double operations in device drivers
Message-ID:  <Pine.BSF.3.95.981203113948.1848A-100000@current1.whistle.com>
In-Reply-To: <199812031513.JAA18762@plains.NoDak.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
it always was taboo..
floating point operations need a process context to store results etc.
in the case of context changes (e.g. interrupts) etc.
BDE can be more accurate on this point I'm sure.

julian


On Thu, 3 Dec 1998, Mark Tinguely wrote:

> I was testing a device driver that I wrote for FreeBSD 2.2.x on a 
> FreeBSD 3.0-RELEASE. When some double multiplication and divisions
> were executed, the system froze.
> 
> It took a long time to find it was a FP problem, it acted like
> some aweful infinite loop.
> 
> These routines are only used on a circuit setup to calculate some scheduling
> parameters, and I guess they can be done with integer math after some head
> scratching.
> 
> My question is: "Is floating point math now taboo in the kernel?"
> 
> --mark.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.981203113948.1848A-100000>