This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH RFC] Add FMAF support on Sparc.


> Eric, could you give this a quick spin on Solaris?  Even if you
> don't have a FMAF capable cpu available, at least make sure the
> configury assembler feature detection bits work properly.

This seems to work just fine on Solaris.

> And any other form of feedback is appreciated as well.  This patch
> works fine for me with current binutils under Linux with a Niagara-3
> processor.

Why fall back to -xv8plusb/-xarch=v9b for Niagara-3 if !HAVE_AS_FMAF_HPC_VIS3?  
Reading the new binutils bits, it seems that -xv8plusc/-xarch=v9c would be the 
perfect match instead.

+mfmaf
+Target Report Mask(FMAF)
+Use UltraSPARC Fused Multiply extensions

Maybe "Fused Multiply-Add extensions".  Why is the final 'f' for exactly?

> I've done --with-cpu=niagara3 builds plus full testsuite regression
> check on sparc-linux-gnu.  I also made sure that FMAF is actually
> being used by the compiler.

Probably worth mentioning in gcc-4.7/changes.html too.

-- 
Eric Botcazou


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]