Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2006 13:27:21 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        freebsd-current@freebsd.org, des@des.no
Subject:   Re: I_686  MMX / 3DNOW / SSE / SSE2 ?
Message-ID:  <20060508132721.36915d94@Magellan.Leidinger.net>
In-Reply-To: <86d5epp5tv.fsf@xps.des.no>
References:  <61809.192.168.1.21.1147030254.squirrel@192.168.1.21> <86d5epp5tv.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting des@des.no (Dag-Erling Smørgrav) (Mon, 08 May 2006 05:13:00 +0200):

> We don't want to use floating point within the kernel, for a variety
> of reasons (one of them being that saving and restoring the floating
> point context when switching in and out of the kernel is very
> expensive).

FYI...

The patches which port the revamped FPU handling from DFly don't have
this expensive behavior for every switch. AFAIR only when the kernel
used the FPU some context is saved. It also allows to use SIMD
instructions in the kernel (this may be beneficial in some places).

Bye,
Alexander.

-- 
                   Press every key to continue.
http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/



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