This is the mail archive of the gcc@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: GCC 4.1.0 Released


Florian, 

> * H. J. Lu:
> 
> > Here are diffs of SPEC CPU 2K between before and after with gcc 4.1 
> > using "-O2 -ffast-math" on Nocona:
> 
> And what about Opterons?  IOW, how "generic" is the optimization?

The generic code generation should cost a small compromise in performance relative to native code generation (e.g., -mtune=opteron on Opteron), but without affecting performance significantly on other processors (e.g., -mtune=nocona on Opteron).  The goal of -mtune=generic is that it's better than the latter case albeit slightly slower than the former case.

And, yes, AMD co-developped the -mtune=generic patch.

HTH

-- 
_______________________________________________________ 
Evandro Menezes              AMD             Austin, TX


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