<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - llc emits AT&T-mnemonic when using -O0 --x86-asm-syntax=intel"
href="https://llvm.org/bugs/show_bug.cgi?id=27784">27784</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc emits AT&T-mnemonic when using -O0 --x86-asm-syntax=intel
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.8
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>thrimbor.github@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16376" name="attach_16376" title="FreeBASIC code triggering the bug, along with LLVM-IR and assembly files.">attachment 16376</a> <a href="attachment.cgi?id=16376&action=edit" title="FreeBASIC code triggering the bug, along with LLVM-IR and assembly files.">[details]</a></span>
FreeBASIC code triggering the bug, along with LLVM-IR and assembly files.
When using -O0 in combination with --x86-asm-syntax=intel, llc produces
assembly which contains the "movabs"-mnemonic which makes the GNU assembler
fail. Replacing the "movabs" with a normal "mov" seems to resolve the issue.
Also, this doesn't seem to happen when using optimization levels other than
-O0.
The LLVM-IR-code which triggered this behavior was generated by the
FreeBASIC-compiler, sources are attached.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>