Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Some C questions
@ 1999-09-19  6:17 Christopher T. Lansdown
  1999-09-19 21:23 ` Richard Henderson
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher T. Lansdown @ 1999-09-19  6:17 UTC (permalink / raw)
  To: axp-list

Hi,
	I've got two questions pertaining to Alpha optimizing C:
1. Is the && operator easily implemented in the Alpha so that it's
significantly faster than
if(a)
	if(b)
		code...
(I am assuming so, I just want to be sure)

2. Does gcc implement the speculative execution hints that the Alpha has
available?  If so, does anyone know what the rules are on how they're set?
Are they set for regular if statements so that if we know that one is more
likely than the other we know to put it in the if{} or the else{} part?


Thanks,
	-Chris

-- 
lansdoct@cs.alfred.edu
"If I had had more time I would have written a shorter letter." - Pascal
Linux Programs: http://cs.alfred.edu/~lansdoct/linux/
Linux - Get there. Today.
Evil Overlord Quote of the Day (www.eviloverlord.com):
99. Any data file of crucial importance will be padded to 1.45Mb in size.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-09-19 22:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-19  6:17 Some C questions Christopher T. Lansdown
1999-09-19 21:23 ` Richard Henderson
1999-09-19 22:20   ` Christopher T. Lansdown
1999-09-19 22:35     ` Daniel Potts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox