Konstantin Belousov c890751da6 A follow-up to r288492. In fact, revert the mentioned commit for
pre-VFPv3 processors, since they do require software support code to
handle denormals.  For VFPv3 and later, enable flush-to-zero if
hardware does not claim full denormals arithmetic support by VMVFR1_FZ
field in mvfr1 register.

The end result is that we do use correct fpu environment on Cortexes
with VFPv3, while ARM11 (e.g. rpi) is in non-compliant flush-to-zero
mode.  At least CPUs without complete hardware implementation of
IEEE 754 do not cause unhandled floating point exception on underflow,
as it was before r288492.

Noted by:	ian
Tested by:	gjb
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-10-07 09:12:49 +00:00
..
2014-05-17 11:29:44 +00:00
2014-03-29 14:35:36 +00:00
2014-12-24 18:54:31 +00:00
2015-03-13 02:49:55 +00:00
2015-08-04 19:46:13 +00:00
2015-05-07 16:56:20 +00:00
2015-08-20 13:37:08 +00:00
2014-01-06 17:16:27 +00:00