Hello Changing -march=x86-64 behaviour to match documentation and common usage.
Question: Is this also good for -m32 -march=x86-64 or will generic then mean something else? Thank Allan diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 364466b6b6f..90f9cbc3c35 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-07-13 Allan Sandfeld Jensen <allan.jen...@qt.io> + + * gcc/common/config/i386/i386-common.c (processor_alias_table): Change + x86-64 architecture to use generic tuning and scheduling instead of K8. + 2019-07-11 Jakub Jelinek <ja...@redhat.com> PR target/91124 diff --git a/gcc/common/config/i386/i386-common.c b/gcc/common/config/i386/ i386-common.c index a394f874fe4..19ace226190 100644 --- a/gcc/common/config/i386/i386-common.c +++ b/gcc/common/config/i386/i386-common.c @@ -1673,7 +1673,7 @@ const pta processor_alias_table[] = PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_FXSR}, {"athlon-mp", PROCESSOR_ATHLON, CPU_ATHLON, PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_FXSR}, - {"x86-64", PROCESSOR_K8, CPU_K8, + {"x86-64", PROCESSOR_GENERIC, CPU_GENERIC, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_NO_SAHF | PTA_FXSR}, {"eden-x2", PROCESSOR_K8, CPU_K8, PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_FXSR},