[llvm-commits] [llvm] r40118 - /llvm/trunk/docs/LangRef.html

Chandler Carruth chandlerc at gmail.com
Fri Jul 20 13:14:52 PDT 2007


Author: chandlerc
Date: Fri Jul 20 15:14:52 2007
New Revision: 40118

URL: http://llvm.org/viewvc/llvm-project?rev=40118&view=rev
Log:
No longer referencing "shared memory" as this can confuse people. The memory is 
clearly shared between processors if these instructions are being used, no 
further specification of what type of memory is necessary.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=40118&r1=40117&r2=40118&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Fri Jul 20 15:14:52 2007
@@ -4841,7 +4841,7 @@
   provides an interface to the hardware, not an interface to the programmer. It 
   is aimed at a low enough level to allow any programming models or APIs which 
   need atomic behaviors to map cleanly onto it. It is also modeled primarily on 
-  hardware behavior. Just as hardware provides a "unviresal IR" for source 
+  hardware behavior. Just as hardware provides a "universal IR" for source 
   languages, it also provides a starting point for developing a "universal" 
   atomic operation and synchronization IR.
 </p>
@@ -4873,8 +4873,8 @@
 </pre>
 <h5>Overview:</h5>
 <p>
-  This loads a value in shared memory and compares it to a given value. If they 
-  are equal, it stores a new value into the shared memory.
+  This loads a value in memory and compares it to a given value. If they are 
+  equal, it stores a new value into the memory.
 </p>
 <h5>Arguments:</h5>
 <p>
@@ -4887,10 +4887,10 @@
 <h5>Semantics:</h5>
 <p>
   This entire intrinsic must be executed atomically. It first loads the value 
-  in shared memory pointed to by <tt>ptr</tt> and compares it with the value 
-  <tt>cmp</tt>. If they are equal, <tt>val</tt> is stored into the shared 
-  memory. The loaded value is yielded in all cases. This provides the 
-  equivalent of an atomic compare-and-swap operation within the SSA framework.
+  in memory pointed to by <tt>ptr</tt> and compares it with the value 
+  <tt>cmp</tt>. If they are equal, <tt>val</tt> is stored into the memory. The 
+  loaded value is yielded in all cases. This provides the equivalent of an 
+  atomic compare-and-swap operation within the SSA framework.
 </p>
 <h5>Examples:</h5>
 <pre>
@@ -4928,9 +4928,9 @@
 </pre>
 <h5>Overview:</h5>
 <p>
-  This intrinsic loads the value stored in shared memory at <tt>ptr</tt> and 
-  yields the value from memory. It then stores the value in <tt>val</tt> in the 
-  shared memory at <tt>ptr</tt>.
+  This intrinsic loads the value stored in memory at <tt>ptr</tt> and yields 
+  the value from memory. It then stores the value in <tt>val</tt> in the memory 
+  at <tt>ptr</tt>.
 </p>
 <h5>Arguments:</h5>
 <p>
@@ -4982,7 +4982,7 @@
 </pre>
 <h5>Overview:</h5>
 <p>
-  This intrinsic adds <tt>delta</tt> to the value stored in shared memory at 
+  This intrinsic adds <tt>delta</tt> to the value stored in memory at 
   <tt>ptr</tt>. It yields the original value at <tt>ptr</tt>.
 </p>
 <h5>Arguments:</h5>
@@ -5029,8 +5029,8 @@
 </pre>
 <h5>Overview:</h5>
 <p>
-  This intrinsic subtracts <tt>delta</tt> from the value stored in shared 
-  memory at <tt>ptr</tt>. It yields the original value at <tt>ptr</tt>.
+  This intrinsic subtracts <tt>delta</tt> from the value stored in memory at 
+  <tt>ptr</tt>. It yields the original value at <tt>ptr</tt>.
 </p>
 <h5>Arguments:</h5>
 <p>





More information about the llvm-commits mailing list