From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f79df321ef1d2c00 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-06-19 16:30:46 PST Path: sparky!uunet!usc!rpi!uwm.edu!rutgers!cmcl2!rlgsc.com!gezelter From: gezelter@rlgsc.com Newsgroups: comp.sys.dec Subject: Re: Porting to Alpha VMS Message-ID: <1992Jun19.152255.132@rlgsc.com> Date: 19 Jun 92 20:22:54 GMT References: <1992Jun11.094025.1991@lsl.co.uk> <1992Jun16.131316.23012@nntpd.lkg.dec.com> <1044@niktow.canisius.edu> Organization: Robert Gezelter Software Consultant, Flushing, NY In article <1044@niktow.canisius.edu>, pavlov@niktow.canisius.edu (Greg Pavlov) writes: > In article <1992Jun16.131316.23012@nntpd.lkg.dec.com>, marra@samuel.enet.dec.com (Dave Marra) writes: >> >> Let me ask another question in response. What makes going from a VAX to >> an ALPHA running the same operating system any different than going from >> a DECstation / Ultrix to a Sparcstation/SUNos? >> > I haven't had occasion to use VMS in some time. But I think that the > more correct analogy in the above would have been "...any different than > going from a VAX /ULTRIX to a DECstation ULTRIX ?" The major problem > we encountered in that arena was alignment. The VAX was very "forgiving" > in this regard, the MIPS architecture wasn't/isn't. I would assume the > same for the Alpha. > > greg pavlov > pavlov@fstrf.org -- Greg, Information presented in public forums, such as DECUS, indicates that VEST and the compilers will produce working code for data structures which are not aligned on their natural boundaries. Because of the need for multiple loads and masks, performance will be less than it COULD be, but the code will certainly execute. In any event, even though it was hidden from the user, programmer, and compiler writer on the VAX processor, the efficiency penalty was just as bad. Each time an unaligned reference occurred, the processor had to perform one or more loads, masks, and shifts to bring the correct sized data item into its internal registers. The Alpha architecture only makes the instructions required to perform this "housekeeping" visible, it does not introduce new CPU work which was not there originally. - Bob +--------------------------------------------------------------------------+ | Robert "Bob" Gezelter E-Mail: gezelter@rlgsc.com | | Robert Gezelter Software Consultant Voice: +1 718 463 1079 | | 35-20 167th Street, Suite 215 Fax: (on Request) | | Flushing, New York 11358-1731 | | United States of America | +--------------------------------------------------------------------------+