Thank you both, I knew there was a command. Did get it working with flags for similar processor but obviously the goal is to optimize for the hardware i have. Just couldn't remember how you got the cpu flags.
If you like computers that sound like a pile of angry hair dryers servers are a real bargain, fortunately i can put mine in another room! "We the People Dare to Create a More Perfect Union" <aclu.org> Mar 9, 2019, 8:36 AM by corbinb...@charter.net: > According to GCC : > CPUs based on AMD Family 10h cores with x86-64 instruction set support. > (This supersets MMX, SSE, SSE2, SSE3, SSE4A, 3DNow!, enhanced 3DNow!, > ABM and 64-bit instruction set extensions.) > > > Best way to get that info : > ( simplest way ) cat /proc/cpuinfo > ( long form ) gcc -c -Q -march=native --help=target > ( short form ) gcc -### -march=native /usr/include/stdlib.h > > partial output of cat /proc/cpuinfo : > ---- > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov > pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt > pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid > extd_apicid aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 > sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic > cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt > lwp fma4 tce nodeid_msr tbm topoext perfctr_core perfctr_nb cpb > hw_pstate ssbd ibpb vmmcall bmi1 arat npt lbrv svm_lock nrip_save > tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold > > partial output of gcc -### -march=native /usr/include/stdlib.h : > ---- > "-march=bdver2" -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -msse4a > -mcx16 -msahf -mno-movbe -maes -mno-sha -mpclmul -mpopcnt -mabm -mlwp > -mfma -mfma4 -mxop -mbmi -mno-sgx -mno-bmi2 -mno-pconfig -mno-wbnoinvd > -mtbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mlzcnt -mno-rtm -mno-hle > -mno-rdrnd -mf16c -mno-fsgsbase -mno-rdseed -mprfchw -mno-adx -mfxsr > -mxsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd > -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves > -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma > -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb > -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid -mno-gfni -mno-shstk > -mno-avx512vbmi2 -mno-avx512vnni -mno-vaes -mno-vpclmulqdq > -mno-avx512bitalg -mno-movdiri -mno-movdir64b --param "l1-cache-size=16" > --param "l1-cache-line-size=64" --param "l2-cache-size=2048" "-mtune=bdver2" > > For CPU_FLAGS_X86 : > -mmmx means USE FLAG "mmx" > -msse == sse > -msse2 == sse2 > ... etc. > > Reference Links : > https://wiki.gentoo.org/wiki/GCC_optimization > <https://wiki.gentoo.org/wiki/GCC_optimization> > https://gcc.gnu.org/onlinedocs/gcc-8.3.0/gcc/x86-Options.html#x86-Options > <https://gcc.gnu.org/onlinedocs/gcc-8.3.0/gcc/x86-Options.html#x86-Options> > > On 3/9/19 3:51 AM, > mad.scientist.at.la...@tutanota.com > <mailto:mad.scientist.at.la...@tutanota.com>> wrote: > >> can any one suggest flags for the make.conf file, i'm trying to build on >> an hp dl585 g7 with 4 amd 6180se, 12 core, cpu world says k10 >> microarchetecture, Maranello platform. >> >> When this works, I'll be upgrading to 6380 CPUs. All help appreciated. >> >> >> "We the People Dare to Create a More Perfect Union" <aclu.org> >>