http://llvm.org/bugs/show_bug.cgi?id=21301
Bug ID: 21301
Summary: illegal instruction generated
Product: clang
Version: unspecified
Hardware: Macintosh
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
When compiled with -march=native, clang 3.5 generates instruction "pextrb"
which is part of sse4.1, while my cpu does not support this instruction set.
Running the executable leads to:
Program received signal SIGILL, Illegal instruction.
Here are selected lines from /proc/cpuinfo :
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 37
model name : Intel(R) Pentium(R) CPU U5400 @ 1.20GHz
stepping : 5
microcode : 0x2
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rd
tscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm pcid p
opcnt lahf_lm arat dtherm
Regards,
Nathanael
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs