Purpose
Sets the prefetch depth prefetch_depth for
the unlimited length protected load or store stream with identifier stream_id.
Prototype
void __unlimited_protected_stream_depth
(unsigned in prefetch_depth, unsigned int stream_id);
Parameter
- prefetch_depth
- A relative, qualitative value which sets the steady-state fetch-ahead distance
of the prefetches for a stream. The fetch-ahead distance is the number
of lines being prefetched in advance of the line from which data is
currently being loaded, or to which data is currently being stored.
Valid values are as follows:
- 0
- The default defined in the Data Stream Control Register.
- 1
- None.
- 2
- Shallowest.
- 3
- Shallow.
- 4
- Medium.
- 5
- Deep.
- 6
- Deeper.
- 7
- Deepest.
- stream_id
- An integer with a value 0 to 15 on POWER6™ processors, and a value 0 to 11 on POWER7 processors.
Usage
Valid only when -qarch is set
to target POWER6 or POWER7 processors.