Message ID | EB4625145972F94C9680D8CADD651615446D11E5@sausexdag06.amd.com |
---|---|
State | New |
Headers | show |
On Tue, May 14, 2013 at 9:26 AM, Gopalasubramanian, Ganesh <Ganesh.Gopalasubramanian@amd.com> wrote: > I think you mean the amdfam10 ISA mismatch between march=native and march=amdfam10. > The below patch fills the gap. Yes, but please also review other AMD processor entries that possibly miss these two flags. Uros.
--- ./wkcpy/gcc-4.9.0/gcc/config/i386/i386.c 2013-02-21 16:27:10.000000000 +0530 +++ ./source/gcc-4.9.0/gcc/config/i386/i386.c 2013-10-21 22:20:28.000000000 +0530 @@ -2964,7 +2964,8 @@ | PTA_SSE2 | PTA_NO_SAHF}, {"amdfam10", PROCESSOR_AMDFAM10, CPU_AMDFAM10, PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE - | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM}, + | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM + | PTA_FXSR | PTA_PRFCHW}, {"barcelona", PROCESSOR_AMDFAM10, CPU_AMDFAM10, PTA_64BIT | PTA_MMX | PTA_3DNOW | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_SSE4A | PTA_CX16 | PTA_ABM},