[llvm-bugs] [Bug 31169] New: [inline asm] asm goto not supported
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Nov 27 03:26:20 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=31169
Bug ID: 31169
Summary: [inline asm] asm goto not supported
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: ziv.izhar at intel.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
the following example doesn't compile in clang, however, gcc,icc do compile it:
void foo(int i, int j)
{
__asm goto ("cmp %0,%1; je %l2" : : "r"(i), "r"(j) : : skip_stuff);
skip_stuff:
return ;
}
The error message recieved in clang is:
<source>:3:9: error: 'asm goto' constructs are not supported yet
__asm goto ("cmp %0,%1; je %l2" : : "r"(i), "r"(j) : : skip_stuff);
^
1 error generated.
Compiler exited with result code 1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20161127/06382ed2/attachment.html>
More information about the llvm-bugs
mailing list