CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2021/01/09 06:14:02
Modified files:
sys/arch/powerpc64/include: fpu.h pcb.h psl.h
sys/arch/powerpc64/powerpc64: fpu.c machdep.c process_machdep.c
trap.c vm_machdep.c
Log message:
Enable support for floating-point exceptions. We always run in "precise"
mode. On modern processors (POWER8 and later) there is no performance
penalty for this as long as exceptions are disabled in the FPSCR (which
is the default). This way we don't have to implement an
architecture-dependent system call to set the mode, as it can only be done
by the kernel.
With help from gkoehler@
ok gkoehler@