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]

Re: Mini-patch for cccp.c



>> choose between char and int except for the fact that on some machines
>> memory loads and stores of individual chars may be significantly
>> slower than ints.
> And on other machines they may be faster.  It's highly target dependent.

On what relatively modern (< 5 years old) gcc hosts are chars faster
than ints?  They used to be faster on a few machines without caches,
but now:

	SPARC	signed char slower on Ultra, otherwise equal
	x86	char sometimes slower, never faster
	MIPS	no effect
	alpha	char slower
	PPC	no effect


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