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

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 26, 2018 at 11:11 AM Konstantin Belousov <kostikbel@gmail.com>
wrote:

> 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).
>

Thanks! Actually I found that just after hitting the send button :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAECmPwukNRp6igm8GZ%2BcMRDycjUEzFt880DAFGsUsWDPSkugLg>