mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
[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
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user