Skip to contentSkip to conversation

march=native target?

DISCUSSION Markus Trippelsdorf 1 participant 1 message Nov 25, 2011 Kbuild

lore
Share & tools
lore
#0 lore raw

Wouldn't it be a good idea to add a "march=native" target to Kconfig.cpu, so that a user doesn't have to select a specific processor family and automatically gets the best support for his native architecture?

(I'm asking because I use a AMD K10 processor and there is only a K8 target in kconfig. Changing k8 to native in arch/x86/Makefile produces better code AFAICT by looking at the assembler output side by side)

Signature · 1 line
Markus