Sun Studio 12 Update 1: Fortran User's Guide

2.3.1.7 The PREFETCH Directives

The -xprefetch option flag, 3.4.157 –xprefetch[=a[,a]], enables a set of PREFETCH directives that advise the compiler to generate prefetch instructions for the specified data element on processors that support prefetch.


C$PRAGMA SUN_PREFETCH_READ_ONCE(name)
C$PRAGMA SUN_PREFETCH_READ_MANY(name)
C$PRAGMA SUN_PREFETCH_WRITE_ONCE(name)
C$PRAGMA SUN_PREFETCH_WRITE_MANY(name)

See also the C User’s Guide, or the SPARC Architecture Manual, Version 9 for further information about prefetch instructions.