#pragma altivec_vrsave

Descripton

When the #pragma altivec_vrsave directive is enabled, function prologs and epilogs include code to maintain the VRSAVE register.

Syntax

Read syntax diagramSkip visual syntax diagram                              .-on----.
>>-#--pragma--altivec_vrsave--+-off---+------------------------><
                              '-allon-'

where pragma settings do the following:

on Function prologs and epilogs include code to maintain the VRSAVE register.
off Function prologs and epilogs do not include code to maintain the VRSAVE register.
allon The function containing the altivec_vrsave pragma sets all bits of the VRSAVE register to 1, indicating that all vectors are used and should be saved if a context switch occurs.

Notes

Related information