I've also had a brief look at the kernel.
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/x86/Makefile_32.cpu;hb=HEAD
… special cases the GX1 to -march=pentium-mmx and the LX to -march=geode,-march=pentium-mmx.
There is also a special case for the bug in binutils we're disussing here that has just been fixed for !CONFIG_X86_P6_NOP where -mtune=generic32 is set.
And what about [x86: do not promote TM3x00/TM5x00 to i686-class] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a7ef94e6889186848573a10c5bdb8271405f44de - that patch is based on the bad assumption that i686 includes NOPL when it does not.
I haven't looked thoroughly, there might be more places!
I've also had a brief look at the kernel.
http:// git.kernel. org/?p= linux/kernel/ git/torvalds/ linux-2. 6.git;a= blob;f= arch/x86/ Makefile_ 32.cpu; hb=HEAD
… special cases the GX1 to -march=pentium-mmx and the LX to -march= geode,- march=pentium- mmx.
There is also a special case for the bug in binutils we're disussing here that has just been fixed for !CONFIG_X86_P6_NOP where -mtune=generic32 is set.
And what about [x86: do not promote TM3x00/TM5x00 to i686-class] http:// git.kernel. org/?p= linux/kernel/ git/torvalds/ linux-2. 6.git;a= commitdiff; h=a7ef94e688918 6848573a10c5bdb 8271405f44de - that patch is based on the bad assumption that i686 includes NOPL when it does not.
I haven't looked thoroughly, there might be more places!