Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.Approved by: re (implicit)Sponsored by: The FreeBSD Foundation
Use the macros from machine/fsr.h; some minor cleanups.
Add fpsetmask(). Needed to build miniperl.Obtained from: netbsd