]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: Enable the floating-point exception traps
authorDmitry Chagin <dchagin@FreeBSD.org>
Thu, 19 May 2022 16:53:56 +0000 (19:53 +0300)
committerDmitry Chagin <dchagin@FreeBSD.org>
Fri, 17 Jun 2022 19:35:25 +0000 (22:35 +0300)
commit570206bdc227c59d1e1e34f76387d3817d2c0354
tree1833278b3341893330cd32002543381af0cd0aaa
parentba77290cceac3391aa4a3469725e093fb1366fe1
arm64: Enable the floating-point exception traps

To enable it user-space needs to call feenableexcept().

FPE_FLTIDO has been added as the IDF bit can't be mapped to any existing
FPE code.

Reviewed by: andrew@
Differential revision: https://reviews.freebsd.org/D35247
MFC after: 2 weeks

(cherry picked from commit 6e2caba7a1297eeda4f43e6377667d2e049f24f9)
sys/arm64/arm64/trap.c
sys/arm64/include/armreg.h
sys/sys/signal.h