Sun Studio 12: C++ User's Guide

A.2.164.1 Values

i must be one of 1, 2, or 3.

Table A–45 The -xprefecth_level Values

Value  

Meaning  

1

Enables automatic generation of prefetch instructions. 

2

Targets additional loops, beyond those targeted at -xprefetch_level=1, for prefetch insertion. Additional prefetches may be inserted beyond those that were inserted at -xprefetch_level=1.

3

Targets additional loops, beyond those targeted at -xprefetch_level=2, for prefetch insertion. Additional prefetches may be inserted beyond those that were inserted at -xprefetch_level=2.

Defaults

The default is -xprefetch_level=1 when you specify -xprefetch=auto.

Interactions

This option is effective only when it is compiled with -xprefetch=auto, with optimization level 3 or greater (-xO3), and on a platform that supports prefetch (v9, v9a, v9b, generic64, native64).