http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56866



--- Comment #9 from Winfried Magerl <winfried.mag...@t-online.de> 2013-04-17 
18:41:06 UTC ---

Hi,



at least one confirmation. I've done some further checks about

float-errors in glibc and that FAM/FAM4 are the extension responsible

for the additional float-errors.



How to proceed?



>From my point of view and comapred with '-march=amdfam10' the

extensions XOP/FAM4/FAM are responsible for the failed tests.



Disabling it in gcc-4.8-noxop/gcc/config/i386/i386.c brings me back

to the same test-results I'm seeing with amdfam10 (excluding all

sorts of scan-*-errors).



I would propose the following patch for bdver2-support because

features which are untested and known to break code (like for example

all the additional test-errors in the gcc-testsuite) should be

disabeled:



--- gcc-4.8-noxop/gcc/config/i386/i386.c.orig   2013-04-12 20:49:09.181351855

+0200

+++ gcc-4.8-noxop/gcc/config/i386/i386.c        2013-04-12 23:15:09.112185980

+0200

@@ -2976,9 +2976,9 @@

       {"bdver2", PROCESSOR_BDVER2, CPU_BDVER2,

        PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3

        | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_SSSE3 | PTA_SSE4_1

-       | PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX | PTA_FMA4

-       | PTA_XOP | PTA_LWP | PTA_BMI | PTA_TBM | PTA_F16C

-       | PTA_FMA | PTA_PRFCHW | PTA_FXSR | PTA_XSAVE},

+       | PTA_SSE4_2 | PTA_AES | PTA_PCLMUL | PTA_AVX

+       | PTA_LWP | PTA_BMI | PTA_TBM | PTA_F16C

+       | PTA_PRFCHW | PTA_FXSR | PTA_XSAVE},

       {"bdver3", PROCESSOR_BDVER3, CPU_BDVER3,

        PTA_64BIT | PTA_MMX | PTA_SSE | PTA_SSE2 | PTA_SSE3

        | PTA_SSE4A | PTA_CX16 | PTA_ABM | PTA_SSSE3 | PTA_SSE4_1



just an examp,e because the features should be disabled in bdver1/3 too

(XOP/FMA4/FMA are only available in bdver1/2/3). Maybe adding the

gcc-developers from @amd.com?



regards



    winfried

Reply via email to