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: koehler@bessta.gsfc.nasa.aspm.gov (Bob Koehler) Subject: Re: GALAXIES - I've seen it Date: 1998/03/26 Message-ID: <6fdo22$ged@post.gsfc.nasa.gov>#1/1 X-Deja-AN: 337905099 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> <1998Mar25.125649.1@eisner> Reply-To: koehler@bessta.gsfc.nasa.aspm.gov Distribution: world Organization: NASA Goddard Space Flight Center -- Greenbelt, Maryland USA 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. Alpha, like most new RISC machines, is a load/store architecture. Only a few load/store instructions are affected. It's a fairly simple matter to implement this in some parallel data path with a set of gates, one of which selects a "stright through" wiring on the parallel path, and one of which selects a "rearrange" wiring on the parallel path. The exact details of how Alpha, MIPS, PowerPC, or HP-PARC 7100 bi-endian chips select little-endian or big-endian mode are unknown to me, but simple to conceive. ------------------------------------------------------------------------------ Bob Koehler | Computer Sciences Corporation Hubble Space Telescope Payload | System Sciences Division Flight Software Team | please remove ".aspm" when replying