From f03bb260c90ad013aa4e55af36382875011c95b8 Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 12 Aug 2011 22:50:01 +0000 Subject: Move "atomic" and "volatile" designations on instructions after the opcode of the instruction. Note that this change affects the existing non-atomic load and store instructions; the parser now accepts both forms, and the change is noted in the release notes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137527 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 12 ++++++------ docs/ReleaseNotes.html | 4 ++++ 2 files changed, 10 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/LangRef.html b/docs/LangRef.html index 725691c14f..95cbad06f6 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -4572,8 +4572,8 @@ that the invoke/unwind semantics are likely to change in future versions.

Syntax:
-  <result> = [volatile] load <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>]
-  <result> = atomic [volatile] load <ty>* <pointer> [singlethread] <ordering>, align <alignment>
+  <result> = load [volatile] <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>]
+  <result> = load atomic [volatile] <ty>* <pointer> [singlethread] <ordering>, align <alignment>
   !<index> = !{ i32 1 }
 
@@ -4644,8 +4644,8 @@ that the invoke/unwind semantics are likely to change in future versions.

Syntax:
-  [volatile] store <ty> <value>, <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>]                   ; yields {void}
-  atomic [volatile] store <ty> <value>, <ty>* <pointer> [singlethread] <ordering>, align <alignment>             ; yields {void}
+  store [volatile] <ty> <value>, <ty>* <pointer>[, align <alignment>][, !nontemporal !<index>]                   ; yields {void}
+  store atomic [volatile] <ty> <value>, <ty>* <pointer> [singlethread] <ordering>, align <alignment>             ; yields {void}
 
Overview:
@@ -4774,7 +4774,7 @@ thread. (This is useful for interacting with signal handlers.)

Syntax:
-  [volatile] cmpxchg <ty>* <pointer>, <ty> <cmp>, <ty> <new> [singlethread] <ordering>                   ; yields {ty}
+  cmpxchg [volatile] <ty>* <pointer>, <ty> <cmp>, <ty> <new> [singlethread] <ordering>                   ; yields {ty}
 
Overview:
@@ -4857,7 +4857,7 @@ done:
Syntax:
-  [volatile] atomicrmw <operation> <ty>* <pointer>, <ty> <value> [singlethread] <ordering>                   ; yields {ty}
+  atomicrmw [volatile] <operation> <ty>* <pointer>, <ty> <value> [singlethread] <ordering>                   ; yields {ty}
 
Overview:
diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index 726729aebf..258555496c 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -583,6 +583,10 @@ it run faster:

-- cgit v1.2.3