Vectorization Pragmas - Vectorization Pragmas - 57222

AOCC User Guide

Document_ID
57222
Release_Date
2026-05-12
Revision
5.2 English

The following are compiler directives to control the loop vectorizations.

  • !DIR$ VECTOR
  • !DIR$ NOVECTOR
  • !DIR$ VECTOR ALWAYS

For these pragmas to be applicable, the optimization levels should be in -O1 to -O3.

-Menable-vectorize-pragmas, introduced in AOCC 3.1 (to control the vectorization pragmas), is deprecated in AOCC 3.2.