[LLVMbugs] [Bug 6584] New: -msse3 does not define __SSE3__
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Mar 11 16:44:30 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=6584
Summary: -msse3 does not define __SSE3__
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Driver
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: m at fritschy.de
CC: llvmbugs at cs.uiuc.edu
When using -msse3 the macro __SSE3__ is not defined which triggers an error in
pmmintrin.h:
---------------------------------
% cat > sse3.c
#include <pmmintrin.h>
int main(){}
% clang -msse3 sse3.c
In file included from sse3.c:1:
/home/m/software/llvm/lib/clang/1.1/include/pmmintrin.h:28:2: error: #error
"SSE3 instruction set not enabled"
#error "SSE3 instruction set not enabled"
^
1 diagnostic generated.
---------------------------------
It does however work when using -msse4.
Cheers,
Marcus
--
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