Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 13:10:59 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Johannes Lundberg <johalun0@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Floating point in kernel?
Message-ID:  <20180526101059.GM88128@kib.kiev.ua>
In-Reply-To: <CAECmPws88aex8zpis5CMD4uvqxF33810jimVy3sHYJGyq%2BPCCw@mail.gmail.com>
References:  <CAECmPws88aex8zpis5CMD4uvqxF33810jimVy3sHYJGyq%2BPCCw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 26, 2018 at 10:59:50AM +0100, Johannes Lundberg wrote:
> Hi
> 
> The new AMD graphics drivers use floats in kernel space.
> Upstream Linux code has something like:
> kernel_fpu_begin();
> ...
> kernel_fpu_end();
> 
> Do we have similar functions to save/restore FPU registers?
Read fpu_kern(9).



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