<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/68468>68468</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang inline assembly does not support intel syntax outside a function
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lhmouse
</td>
</tr>
</table>
<pre>
This fails:
(https://gcc.godbolt.org/z/s4oY47sKv)
```c
__asm__("mov eax, ecx");
```
```text
<inline asm>:1:1: error: unknown use of instruction mnemonic without a size suffix
1 | mov eax, ecx
| ^
1 error generated.
Compiler returned: 1
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxsUkFvozwQ_TXmMmoExhg4cGjTcvmu32VPkbEn4F1jRx67TfvrV4Soq41WAtnzZsZvnt4oIjt7xIE1L6x5LVROS4iDW9aQCYspmM_h_8USnJV1xOpnVr6y8pnxbknpcgP4yPg4a32Yg5mCS4cQZ8bHL8ZHEuGHaOm_d8b7e6Ms90_v8emkaD2dGO8Y52t4B1RXxo-A-so439rql4fOe_g3mPCa7lB9tN5Zj6BoZfUbq5-r-w8YY4jbJftfPnx4yIQQzmA9pZh1ssHD6nEN3mr4sGkJOYECsl8IlM9ne905AAAqYO0RHkb-zsIty5q3Hap2apjRY1QJzWHHj2G9WIcRIqYcPZptuOqfggsz1Kave1XgUMleyqYXpSiWoanbsqs7lH3VGqO5blsziYZ3-iyFnLrCDrzkdVWWbSkrKcRBNs3EO6Pq1oi-7Q0TJa7KuoNz7-tmX2GJMg6yE7IrnJrQ0W1BONdO-Xlzpnkt4rDVP015JiZKZynRnxeSTQ6H41YO334QrpP7BBOQwIcElC-XEBNYn9ABffqkrhByImsQFJyzv3lS5OiGh32zacnTQYeV8XEjvR9Plxh-ok6MjzcNxPh4k_E7AAD__22C4QM">