[LLVMbugs] [Bug 14947] New: error in backend: Cannot select: intrinsic %llvm.x86.sse42.crc32.64.64
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jan 13 23:21:17 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14947
Bug #: 14947
Summary: error in backend: Cannot select: intrinsic
%llvm.x86.sse42.crc32.64.64
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: kcc at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
% cat crc.cc
typedef unsigned long long U;
U foo(U x, U y) {
return __builtin_ia32_crc32di(x, y);
}
% clang -cc1 -triple x86_64-unknown-linux-gnu -S -o - -x c++ crc.cc
.file "crc.cc"
fatal error: error in backend: Cannot select: intrinsic
%llvm.x86.sse42.crc32.64.64
(works well if I pass -march=native)
crc32 seems to be quite an old instruction, why does it require -march=native?
Also, this should probably be a warning/error, not an assertion.
--
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