Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 10:59:50 +0100
From:      Johannes Lundberg <johalun0@gmail.com>
To:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Floating point in kernel?
Message-ID:  <CAECmPws88aex8zpis5CMD4uvqxF33810jimVy3sHYJGyq%2BPCCw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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?

Cheers



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