-qaltivec

Pragma equivalent

None.

Purpose

Enables the compiler support for vector data types and operators.

Syntax

Read syntax diagramSkip visual syntax diagram
        .-noaltivec-.   
>>- -q--+-altivec---+------------------------------------------><

Defaults

-qnoaltivec

Usage

The -qaltivec option has effect only when you set or imply -qarch to be an architecture that supports vector instructions. Otherwise, the compiler ignores -qaltivec and issues a warning message.

Predefined macros

__ALTIVEC__ is defined to 1 and __VEC__ is defined to 10206 when -qaltivec is in effect; otherwise, they are undefined.

Related information



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us