[LLVMbugs] [Bug 7254] New: unrecognized instruction lock
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat May 29 03:44:40 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7254
Summary: unrecognized instruction lock
Product: new-bugs
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: niels.pfeffer at googlemail.com
CC: llvmbugs at cs.uiuc.edu
When trying to compile:
static inline void inc(int64_t* atomic)
{
__asm__ __volatile__
(
"lock incq %0\n"
: "=m" (*atomic)
: "m" (*atomic)
);
}
I get:
<inline asm>:1:2: error: unrecognized instruction
lock incq (%rax)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list