https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68602
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andi Kleen from comment #0) > gcc -v --help does not output all the possible options for -mtune=/-march= > > For example corei7-avx is missing for arch, which is Sandy Bridge. tune is > also mising all cpu names > > > > -march=CPU[,+EXTENSION...] > generate code for CPU and EXTENSION, CPU is one of: > generic32, generic64, i386, i486, i586, i686, > pentium, pentiumpro, pentiumii, pentiumiii, > pentium4, > prescott, nocona, core, core2, corei7, l1om, k1om, > k6, k6_2, athlon, opteron, k8, amdfam10, bdver1, > bdver2, bdver3, bdver4, btver1, btver2 > EXTENSION is combination of: > 8087, 287, 387, no87, mmx, nommx, sse, sse2, sse3, > ssse3, sse4.1, sse4.2, sse4, nosse, avx, avx2, > avx512f, avx512cd, avx512er, avx512pf, avx512dq, > avx512bw, avx512vl, noavx, vmx, vmfunc, smx, > xsave, > xsaveopt, xsavec, xsaves, aes, pclmul, fsgsbase, > rdrnd, f16c, bmi2, fma, fma4, xop, lwp, movbe, > cx16, > ept, lzcnt, hle, rtm, invpcid, clflush, nop, > syscall, > rdtscp, 3dnow, 3dnowa, padlock, svme, sse4a, abm, > bmi, tbm, adx, rdseed, prfchw, smap, mpx, sha, > clflushopt, prefetchwt1, se1, clwb, pcommit, > avx512ifma, avx512vbmi > -mtune=CPU optimize for CPU, CPU is one of: > generic32, generic64, i8086, i186, i286, i386, > i486, > i586, i686, pentium, pentiumpro, pentiumii, > pentiumiii, pentium4, prescott, nocona, core, > core2, > corei7, l1om, k1om, k6, k6_2, athlon, opteron, k8, > amdfam10, bdver1, bdver2, bdver3, bdver4, btver1, > btver2 This comes from assembler, not GCC, whose -march/-mtune are different from GCC.