__protected_stream_set
Purpose
Establishes a limited-length protected stream which fetches from either incremental (forward) or decremental (backward) memory addresses. The stream is protected from being replaced by any hardware detected streams.
Prototype
void __protected_stream_set (unsigned int direction, const void* addr, unsigned int stream_ID);
Parameters
- direction
- An integer with a value of 1 (forward) or 3 (backward).
- addr
- The beginning of the cache line.
- stream_ID
- An integer with a value 0-7 on POWER5 processors, a value 0 to 15 on POWER6® processors, and a value 0 to 11 on POWER7® and POWER8® processors.
Usage
Valid only when -qarch is set to target POWER5 processors or higher.


