diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-06-14 04:58:37 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-06-14 04:58:37 +0000 |
| commit | dc9ff3a4b1116c6d2e47a88e360f1d21ad2d1d43 (patch) | |
| tree | 27cc4fe0866e6a37d1e00f9c1213c2392c8a3d66 /llvm/docs | |
| parent | ee7286f02dcf6711a84f3e6908a6d1a6727d90da (diff) | |
| download | bcm5719-llvm-dc9ff3a4b1116c6d2e47a88e360f1d21ad2d1d43.tar.gz bcm5719-llvm-dc9ff3a4b1116c6d2e47a88e360f1d21ad2d1d43.zip | |
Add one more argument to the prefetch intrinsic to indicate whether it's a data
or instruction cache access. Update the targets to match it and also teach
autoupgrade.
llvm-svn: 132976
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index a024efb0993..74678c7be8e 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -6064,7 +6064,7 @@ LLVM</a>.</p> <h5>Syntax:</h5> <pre> - declare void @llvm.prefetch(i8* <address>, i32 <rw>, i32 <locality>) + declare void @llvm.prefetch(i8* <address>, i32 <rw>, i32 <locality>, i32 <cache type>) </pre> <h5>Overview:</h5> @@ -6077,8 +6077,10 @@ LLVM</a>.</p> <p><tt>address</tt> is the address to be prefetched, <tt>rw</tt> is the specifier determining if the fetch should be for a read (0) or write (1), and <tt>locality</tt> is a temporal locality specifier ranging from (0) - no - locality, to (3) - extremely local keep in cache. The <tt>rw</tt> - and <tt>locality</tt> arguments must be constant integers.</p> + locality, to (3) - extremely local keep in cache. The <tt>cache type</tt> + specifies whether the prefetch is performed on the data (1) or instruction (0) + cache. The <tt>rw</tt>, <tt>locality</tt> and <tt>cache type</tt> arguments + must be constant integers.</p> <h5>Semantics:</h5> <p>This intrinsic does not modify the behavior of the program. In particular, |

