------- Comment #2 from ubizjak at gmail dot com 2010-05-09 07:25 ------- >From config/driver-i386.c
[...] case PROCESSOR_PENTIUMPRO: if (model == 28) cpu = "atom"; else if (model >= 28 && l2sizekb < 2048) /* Assume it's a small core if there's less than 2MB cache */ cpu = "atom"; else if (has_longmode) cpu = "core2"; And from cpuid: cpu family : 6 model : 37 cache size : 3072 KB driver detects --param l2-cache-size=3072 and -march=atom ... WTF ? Can you please step through the driver with debugger and determine _exact_ values of model and l2sizekb in the above source? It is around line 540 in gcc/config/i386/driver-i386.c. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44046