From: "Christopher T. Lansdown" <lansdoct@screech.cs.alfred.edu>
To: axp-list@redhat.com
Subject: Some C questions
Date: Sun, 19 Sep 1999 02:17:25 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.10.9909190214570.7321-100000@Screech> (raw)
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.
next reply other threads:[~1999-09-19 6:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-19 6:17 Christopher T. Lansdown [this message]
1999-09-19 21:23 ` Some C questions Richard Henderson
1999-09-19 22:20 ` Christopher T. Lansdown
1999-09-19 22:35 ` Daniel Potts
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox