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: -mtune=generic for i386 backend


Jan Hubicka <jh@suse.cz> writes:
> 
> Results relative to current defaults (i686 for 32bit, Opteron for 64bit)
> 			SPECint		SPECfp
> Opteron 64bit		+1.2%		-1.4%
> Prescott 64bit		+1.7%		+28%

That's an impressive result.

> Opteron 32bit		+1.0%		+0.2%
> Dothan 32bit		+1.6%		+0.1%
> Northwood 32bit		+1.1%		+0.4%
> Prescott 32bit		+1.6%		+2.3%
> Yonath 32bit		+1.5%		+0.3%
> 
> For prescott/nocona we also get results better than -march=prescott/nocona.  H.
> J. is going to send improvents to P4 tunnings in separate patch.  In both 32bit
> and 64bit mode the generic costs extra roughly 20k over default setting.  

20k what? Bigger code size?  If yes measured how? Did you do any 
further measurements on how code size is impact from this?

Thanks,
-Andi (looking forward to using this switch in the future)


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