On Sat, Sep 29, 2012 at 11:08 AM, Segher Boessenkool
<seg...@kernel.crashing.org> 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?

Freescale customers do not use it.

Most embedded processors do not contain VMX.

The SVR4 ABI is being corrected to correctly describe that it is not used.

*BSDs can set it if they want, but it actually is less efficient to
use the mask.

- David

Reply via email to