-qvecnvol

Category

Portability and migration

Pragma equivalent

None.

Purpose

Specifies whether to use volatile or non-volatile vector registers.

Volatile vector registers are those whose value is not preserved across function calls or across save context, jump or switch context system library functions. When -qvecnvol is in effect, the compiler uses both volatile and non-volatile vector registers. When -qnovecnvol is in effect, the compiler uses only volatile vector registers.

This option is required for programs where there is risk of interaction between modules built with AIX® libraries prior to AIX 5.3 with 5300-03 and vector register use. Restricting the compiler to use only volatile registers will make your vector programs safe but it potentially forces the compiler to store vector data to memory more often and therefore results in reducing performance.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-novecnvol .   
>>- -q--+-vecnvol --+------------------------------------------><

Defaults

-qnovecnvol

Usage

Predefined macros

None.

Related information