From owner-freebsd-current Wed Jun 10 07:21:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA08286 for freebsd-current-outgoing; Wed, 10 Jun 1998 07:21:40 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id HAA07859 for ; Wed, 10 Jun 1998 07:18:17 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA19820; Wed, 10 Jun 1998 14:41:20 +0200 From: Luigi Rizzo Message-Id: <199806101241.OAA19820@labinfo.iet.unipi.it> Subject: Re: floating point usage within the kernel - howto ? To: luigi@labinfo.iet.unipi.it (Luigi Rizzo) Date: Wed, 10 Jun 1998 14:41:20 +0200 (MET DST) Cc: current@FreeBSD.ORG In-Reply-To: <199806101239.OAA19796@labinfo.iet.unipi.it> from "Luigi Rizzo" at Jun 10, 98 02:38:44 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG forgot to say, i don't expect this to be something portable across architectures :) luigi > a local user has a need to do some Floating Point computations within > the kernel. I think this is not possible without explicitly > saving&restoring the FP register around the task, is this correct ? > And if this is true, is there any trick/asm routine to call to do the > saving & restoring of the registers ? > > thanks > luigi > -----------------------------+-------------------------------------- > Luigi Rizzo | Dip. di Ingegneria dell'Informazione > email: luigi@iet.unipi.it | Universita' di Pisa > tel: +39-50-568533 | via Diotisalvi 2, 56126 PISA (Italy) > fax: +39-50-568522 | http://www.iet.unipi.it/~luigi/ > _____________________________|______________________________________ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message