Re: [PATCH 8/8] x86: simplify 32-bit instruction set selection

David Laight <[email protected]> Fri, 22 May 2026 22:33:49 +0100
Newsgroups org.infradead.lists.linux-um,org.kernel.vger.linux-kernel
Message-ID <20260522223349.155dfe20@pumpkin>
On Fri, 22 May 2026 16:19:59 +0200
Arnd Bergmann <[email protected]> wrote:

> From: Arnd Bergmann <[email protected]>
...
> Change the CPU selection to build everything with either -march=i586
> or -march=i686 and make the specific options only change the -mtune=
> parameter where this was previously handled by -march=. Note that
> the only -mtune= options that gcc or clang understand for x86-32
> are i486, pentium, pentiumpro, pentium4, atom, geode, k6 and athlon,
> the other ten are just aliases for one of them.

Hmmm... That rather implies there is nothing for anything designed
in the last 20 years.
No wonder code generation choices look strange at times.

You don't want to pick p4, so I guess either p-pro or athlon?
But neither is really anything like even Sandy bridge.

-- David