Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site lasspvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!vax135!cornell!lasspvax!garry From: garry@lasspvax.UUCP (Garry Wiegand) Newsgroups: net.lang.c Subject: Re: Code Generation (register byte, short...) Message-ID: <718@lasspvax.UUCP> Date: Tue, 26-Nov-85 21:42:57 EST Article-I.D.: lasspvax.718 Posted: Tue Nov 26 21:42:57 1985 Date-Received: Thu, 28-Nov-85 08:10:25 EST Reply-To: garry%geology@cu-arpa.cornell.edu.arpa Organization: Cornell Engineering && Flying Moose Graphics Lines: 13 The definition of "int" I carry around in my head is "use whatever length is natural and convenient on this machine; makes no difference to me." There may be compilers that do not adhere to this (my 68000 compiler requires a command-line switch), but I think that qualifies as a compiler bug and a #define is in order. As far as I've ever observed, word instructions execute at just about the same speed as longword instructions on the vax -- ie, no penalty -- unless you start mixing them. garry wiegand garry%geology@cu-arpa.cs.cornell.edu