History log of /openbsd/sys/arch/arm64/arm64/fpu.c (Results 1 – 2 of 2)
Revision Date Author Comments
# 84dbb7f9 26-Jul-2024 jsg <jsg@openbsd.org>

use the fp target attribute with fpu_save()/fpu_load()

otherwise clang 18 errors when inline assembly uses floating point
registers with nofp in -march

ok kettenis@


# b83a19dd 01-Jan-2022 kettenis <kettenis@openbsd.org>

Rewrite the kernel FPU handling code. The new code saves the FPU state
in cpu_switch() instead of at the kernel edge and gets rid of the FPU
state tracking in struct cpu_info and struct pcb. This f

Rewrite the kernel FPU handling code. The new code saves the FPU state
in cpu_switch() instead of at the kernel edge and gets rid of the FPU
state tracking in struct cpu_info and struct pcb. This fixes the random
crashes seen with SMP kernels on Apple M1.

ok patrick@

show more ...