OK, according to this page: http://en.wikipedia.org/wiki/List_of_Intel_Core_i5_microprocessors
your processor has an Intel Sandy Bridge core, with avx support. According to this page: http://gcc.gnu.org/onlinedocs/gcc-4.8.1/gcc/i386-and-x86_002d64-Options.html this is the right option (ok, it says corei7, but there is no corei5), if it supports the following: MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AES and PCLMUL which the Wikipedia page confirms it does (it doesn't mention pclmul, but your processor has the pclmulqdq flag listed in "flags") . So I think it is the best compiler option for your processor. Bill. On 6 April 2014 12:59, Денис Крыськов <crazzy.y...@gmail.com> wrote: > > I wonder is this correct that -march=corei7-avx instead of corei5 (I got >>> Intel(R) Core(TM) i5-2500K)? >>> >> >> I think so. If you tell me the result of >> >> cat /proc/cpuinfo >> >> in particular the line that starts "model name", I will check and make >> sure it is correct. >> >> > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 42 > model name : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz > stepping : 7 > microcode : 0x17 > cpu MHz : 1600.000 > cache size : 6144 KB > physical id : 0 > siblings : 4 > core id : 0 > cpu cores : 4 > apicid : 0 > initial apicid : 0 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > 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 rdtscp lm > constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc > aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 > cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx > lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority > ept vpid > bogomips : 6584.79 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 42 > model name : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz > stepping : 7 > microcode : 0x17 > cpu MHz : 1600.000 > cache size : 6144 KB > physical id : 0 > siblings : 4 > core id : 1 > cpu cores : 4 > apicid : 2 > initial apicid : 2 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > 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 rdtscp lm > constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc > aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 > cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx > lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority > ept vpid > bogomips : 6584.79 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 2 > vendor_id : GenuineIntel > cpu family : 6 > model : 42 > model name : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz > stepping : 7 > microcode : 0x17 > cpu MHz : 1600.000 > cache size : 6144 KB > physical id : 0 > siblings : 4 > core id : 2 > cpu cores : 4 > apicid : 4 > initial apicid : 4 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > 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 rdtscp lm > constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc > aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 > cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx > lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority > ept vpid > bogomips : 6584.79 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 3 > vendor_id : GenuineIntel > cpu family : 6 > model : 42 > model name : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz > stepping : 7 > microcode : 0x17 > cpu MHz : 1600.000 > cache size : 6144 KB > physical id : 0 > siblings : 4 > core id : 3 > cpu cores : 4 > apicid : 6 > initial apicid : 6 > fpu : yes > fpu_exception : yes > cpuid level : 13 > wp : yes > 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 rdtscp lm > constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc > aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 > cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx > lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority > ept vpid > bogomips : 6584.79 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.