On Wed, Aug 27, 2008 at 10:15 AM, Joseph S. Myers <[EMAIL PROTECTED]> wrote: > On Fri, 22 Aug 2008, Richard Henderson wrote: > >> H.J. Lu wrote: >> > Can we declare that Linux/ia32 generates i486 insn by default? >> >> We the gcc team? I'm not sure. For now I'll say no. >> >> We an individual linux distributor? Certainly. >> In fact I would be surprised if i586 wasn't a >> decent minimum these days. > > glibc has certainly required -march=i486 or greater for some time to build > for IA32; it will fail to link for -march=i386 because of missing atomic
Given that glibc requires -march=i486, I think Linux/ia32 should default to i486. > operations. (And I hold that i686-* should mean -march=i686 default not > -mcpu=i386 and similarly x86_64-* -m32 should default to -march=x86_64, > subject to --with-arch etc. in both cases.) > I think i[4-6]86-*-linux and x86_64-*-linux should default to i486 at minimum for 32bit. -- H.J.