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-10 21:49:06 PST Newsgroups: comp.sys.dec Path: sparky!uunet!decwrl!pa.dec.com!kaputt!neideck From: neideck@kaputt.enet.dec.com (Burkhard Neidecker-Lutz) Subject: Re: Message-ID: <1992Jun11.102641.1947@PA.dec.com> Sender: news@PA.dec.com (News) Organization: CEC Karlsruhe References: <6869@public.BTR.COM> <3093@ais.com> Date: Thu, 11 Jun 92 10:26:41 GMT Without wanting to argue about the overall point (I didn't try to migrate anything from Solaris 1.0 to 2.0, the only life experience is with Alpha), let me correct one misconception. In article jim@accelr8.com (Jim Reiss) writes: >> >What makes you say that? VMS currently lets you get away with any sort of >data alignment you like, RISC processors tend to choke (especially RISC >processors without byte and word load/store instructions, which I believe >Alpha's is). The lack or presence of byte/halfword instructions does have nothing to do with data alignment problems. Note the SUN Sparc, which *has* the former and bombs on the latter. It is up to *compilers* to implement unaligned access code sequences and I believe the SUN compilers do this for the Sparc if asked to (using byte accesses and shift/or) and the Alpha/VMS compilers do this (using load/store_unaligned and the in-register zap/mask/extract instructions to do this). Neither Sparc nor Alpha is as spiffy about this as the MIPS lwl/lwr sequences, but other than the performance impact, there is nothing that keeps you from using unaligned accesses in Alpha. They are *discouraged* for performance reasons, but that's about it. Burkhard Neidecker-Lutz Multimedia Engineering, CEC Karlsruhe EERP Portfolio Manager Software Motion Pictures Multimedia Base Technology Digital Equipment Corporation neidecker@nestvx.enet.dec.com