altivec_vrsave

Controls which AltiVecâ„¢ registers to save to the stack between function calls.

Syntax
#pragma altivec_vrsave on | off | reset | allon
  
Parameter

allon

Tells the compiler to set all bits in the VRSAVE register.

Remarks

When generating instructions to call a function, the compiler uses the VRSAVE register's contents to determine which AltiVec registers should be saved to and restored from the stack.

When this pragma is on , the compiler determines which AltiVec registers a function uses. It generates instructions to record this information in the VRSAVE register.

When this pragma is off , the compiler clears the VRSAVE register and consequently does not save AltiVec registers on the stack.

When this pragma is set to allon , the compiler sets the VRSAVE register to specify that all AltiVec registers should be saved and restored on the stack.