From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,8c572c8554a309a9 X-Google-Attributes: gidf7344,public X-Google-Thread: 10f8a1,185c16fbb8340ca3 X-Google-Attributes: gid10f8a1,public X-Google-Thread: 1164f8,185c16fbb8340ca3 X-Google-Attributes: gid1164f8,public From: kilgallen@eisner.decus.org (Larry Kilgallen) Subject: Re: GALAXIES - I've seen it Date: 1998/03/25 Message-ID: <1998Mar25.125649.1@eisner>#1/1 X-Deja-AN: 337601217 References: <3.0.3.32.19980320182347.0054d100@mail.progis.de> <351329C2.6D6B@world.std.com> <1998Mar21.074816.1@eisner> <6f5u6m$lne@post.gsfc.nasa.gov> <6fb3r2$k8j@cyber1.servtech.com> Reply-To: Kilgallen@eisner.decus.org.nospam X-Nntp-Posting-Host: eisner.decus.org X-Trace: news.decus.org 890848618 5888 KILGALLEN [192.67.173.2] Organization: LJK Software Newsgroups: comp.os.vms,comp.sys.dec,vmsnet.alpha In article <6fb3r2$k8j@cyber1.servtech.com>, cfchiesa@cyber1.servtech.com (christopher f. chiesa) writes: > In article <6f5u6m$lne@post.gsfc.nasa.gov>, > Bob Koehler wrote: >> >>According to the architecture reference, one must choose big-endian or >>little-endian from console mode before booting the OS on an Alpha. > > Interesting! So... what, exactly, does this choice do to the Alpha CPU at > the hardware level? The only thing I can think of which distinguishes > big-endian from little-endian behavior "at the hardware level," is the > specific sequence of behind-the-scenes, internal shifting-and-masking the > CPU must perform in order to implement such things as "load a register-sized quantity> from a non--aligned memory > address." Ergo the "choice" made at the console must somehow instruct the > Alpha CPU to select a DIFFERENT set of implicit shift-and-mask operations > in its operation. But unless you tell your compiler to generate the new instructions added for the 21164 chip, there are no such instructions on Alpha. The original instruction set works quite well in either big or little endian fashion (slight performance penalty for the former) when you are not trying to emulate code from Intel machines.