aboutsummaryrefslogtreecommitdiffstats
path: root/docs/LangRef.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 01acce8dd8..0699857bb1 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -2894,8 +2894,19 @@ call void asm sideeffect "eieio", ""()
call void asm alignstack "eieio", ""()
</pre>
-<p>If both keywords appear the '<tt>sideeffect</tt>' keyword must come
- first.</p>
+<p>Inline asms also support using non-standard assembly dialects. The standard
+ dialect is ATT, which is assumed when the '<tt>nsdialect</tt>' keyword is not
+ present. When the '<tt>nsdialect</tt>' keyword is present, the dialect is
+ assumed to be Intel. Currently, ATT and Intel are the only supported
+ dialects. An example is:</p>
+
+<pre class="doc_code">
+call void asm nsdialect "eieio", ""()
+</pre>
+
+<p>If multiple keywords appear the '<tt>sideeffect</tt>' keyword must come
+ first, the '<tt>alignstack</tt>' keyword second and the
+ '<tt>nsdialect</tt>' keyword last.</p>
<!--
<p>TODO: The format of the asm and constraints string still need to be