diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-05 00:08:17 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-05 00:08:17 +0000 |
commit | 36547343abb7f79ead953817b0d36a27f6082177 (patch) | |
tree | 128b1e43e3db99f7dc81e8f01eb0b6a55ed2bd30 /docs | |
parent | 230768bd1316a012e88ac62689589fe5e2f10456 (diff) |
[ms-inline asm] Emit the (new) inline asm Non-Standard Dialect attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163181 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 15 |
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 |