prefetch

Applies to C Applies to C++

Purpose

Enables generation of prefetching instructions such as dcbt and dcbz in compiled code.

Syntax


Syntax Diagram

Notes

By default, the compiler may insert prefetch instructions in compiled code. The -qnoprefetch option lets you disable this feature.

The -qnoprefetch option will not prevent built-in functions such as __prefetch_by_stream() from generating prefetch instructions.

Related References

Compiler Command Line Options IBM Copyright 2003