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

David Laight david.laight.linux at gmail.com
Fri May 22 14:33:49 PDT 2026


On Fri, 22 May 2026 16:19:59 +0200
Arnd Bergmann <arnd at kernel.org> wrote:

> From: Arnd Bergmann <arnd at arndb.de>
...
> 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



More information about the linux-um mailing list