[llvm-commits] [llvm] r96386 - in /llvm/trunk: docs/LangRef.html lib/Target/X86/X86InstrSSE.td test/CodeGen/X86/2010-02-11-NonTemporal.ll

Bill Wendling wendling at apple.com
Tue Feb 16 15:11:20 PST 2010


Hi David,

On Feb 16, 2010, at 12:50 PM, David Greene wrote:

> Modified: llvm/trunk/docs/LangRef.html
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=96386&r1=96385&r2=96386&view=diff
> 
> ==============================================================================
> --- llvm/trunk/docs/LangRef.html (original)
> +++ llvm/trunk/docs/LangRef.html Tue Feb 16 14:50:18 2010
> @@ -4098,6 +4099,14 @@
>    alignment results in an undefined behavior. Underestimating the alignment may
>    produce less efficient code. An alignment of 1 is always safe.</p>
> 
> +<p>The optional !nontemporal metadata must reference a single metatadata

Please put "!nontemporal" between <tt></tt> tags.

> +   name <index> corresponding to a metadata node with one i32 entry of

Please use >/< for the "<index>". Should it be within <tt></tt> tags as well?

> +   value 1.  The existance of the !nontemporal metatadata on the
> +   instruction tells the optimizer and code generator that this load is
> +   not expected to be reused in the cache.  The code generator may
> +   select special instructions to save cache bandwidth, such as the
> +   MOVNT intruction on x86.</p>

<tt></tt> for MOVNT please.

> @@ -4150,6 +4159,15 @@
>    alignment results in an undefined behavior. Underestimating the alignment may
>    produce less efficient code. An alignment of 1 is always safe.</p>
> 
> +<p>The optional !nontemporal metadata must reference a single metatadata
> +   name <index> corresponding to a metadata node with one i32 entry of
> +   value 1.  The existance of the !nontemporal metatadata on the
> +   instruction tells the optimizer and code generator that this load is
> +   not expected to be reused in the cache.  The code generator may
> +   select special instructions to save cache bandwidth, such as the
> +   MOVNT intruction on x86.</p>
> +

Ditto as above.

-bw





More information about the llvm-commits mailing list