Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!boulder!sunybcs!rutgers!mcnc!rti!mcm From: mcm@rti.UUCP (Mike Mitchell) Newsgroups: comp.unix.wizards,comp.lang.c,comp.unix.questions Subject: Re: New feature of Ultrix C compilers Message-ID: <1748@rti.UUCP> Date: Mon, 28-Sep-87 19:18:59 EDT Article-I.D.: rti.1748 Posted: Mon Sep 28 19:18:59 1987 Date-Received: Wed, 30-Sep-87 01:16:14 EDT References: <867@sask.UUCP> <4380@teddy.UUCP> Reply-To: mcm@rti.UUCP (Mike Mitchell) Organization: Research Triangle Institute, RTP, NC Lines: 12 Keywords: VAX C Xref: mnetor comp.unix.wizards:4559 comp.lang.c:4609 comp.unix.questions:4308 I've noticed that the compiler inserts NOOP's and HALT's to align branch targets and subroutines to long-word boundries. This is not necessary on a VAX, but I guess that the pre-fetches in the instruction unit could throw out the noops when it sees them. Aligning things to 32-bit boundries might make it a little faster. I have not done any timings to confirm this. Besides, what is faster for a uVAX-II might be slower for an 8600. Who knows what CPU they optimized the code generator for? -- Mike Mitchell {decvax,seismo,ihnp4,philabs}!mcnc!rti!mcm mcm@rti.rti.org "There's laughter where I used to see a tear. w (919) 541-6098 It's all done with mirrors, have no fear." h (919) 361-2048