On Sep 29, 2012, at 8:08 AM, Segher Boessenkool wrote: >> The following proposed patch disables setting, saving and restoring >> the VRSAVE register on all targets except Darwin. >> >> VRSAVE was removed from the AIX ABI and was suppose to have been >> removed from the PPC SVR4 ABI. All recent versions of the Linux >> kernel set and maintain VRSAVE itself, as a process-level flag, not as >> individual bits, so no need for the compiler to set the register or to >> save and restore it across calls. All uses of VRSAVE (e.g., GLibc) >> will continue to work using the value set by the kernel. > > I don't think you can assume all embedded users do not use VRSAVE (or > even the majority). And what about *BSD?
NetBSD does nothing with VRSAVE except saving and restoring it on exceptions.