From: Chad Rosier Date: Wed, 5 Sep 2012 00:08:17 +0000 (+0000) Subject: [ms-inline asm] Emit the (new) inline asm Non-Standard Dialect attribute. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=36547343abb7f79ead953817b0d36a27f6082177;p=oota-llvm.git [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 --- diff --git a/docs/LangRef.html b/docs/LangRef.html index 01acce8dd88..0699857bb1e 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -2894,8 +2894,19 @@ call void asm sideeffect "eieio", ""() call void asm alignstack "eieio", ""() -

If both keywords appear the 'sideeffect' keyword must come - first.

+

Inline asms also support using non-standard assembly dialects. The standard + dialect is ATT, which is assumed when the 'nsdialect' keyword is not + present. When the 'nsdialect' keyword is present, the dialect is + assumed to be Intel. Currently, ATT and Intel are the only supported + dialects. An example is:

+ +
+call void asm nsdialect "eieio", ""()
+
+ +

If multiple keywords appear the 'sideeffect' keyword must come + first, the 'alignstack' keyword second and the + 'nsdialect' keyword last.