Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbosgd!gatech!seismo!rochester!crowl From: crowl@rochester.ARPA (Lawrence Crowl) Newsgroups: net.arch Subject: Re: MIPS's machine Message-ID: <17418@rochester.ARPA> Date: Mon, 21-Apr-86 08:04:20 EST Article-I.D.: rocheste.17418 Posted: Mon Apr 21 08:04:20 1986 Date-Received: Thu, 24-Apr-86 05:27:08 EST References: <6593@utzoo.UUCP> Reply-To: crowl@rochester.UUCP (Lawrence Crowl) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 26 In article <6593@utzoo.UUCP> henry@utzoo.UUCP (Henry Spencer) writes: >... MIPS Computer Systems ... machine .... Load and >store instructions come in a number of flavors, including hardware help >for unaligned references: you need two instructions to pick up the two >pieces of the data, but then you'd need two memory cycles anyway, and >things are set up so there is no extra overhead. Unfortunately, you need to know that the reference is unaligned. This will involve some runtime checks if unaligned references are allowed. If I were writing the compiler, I would probably make a convention that the compiler is responsible for ensuring that all references are aligned. Any comments? >... The machine is also >byte-bisexual, giving the code generator a choice of whether addressing >within a word is big-endian or little-endian. Is there a convention for which form will be used? I understand the need to convert databases from one form to the other, but having two conventions on the same machine could lead to two different object modules assuming different conventions. Any comments? -- Lawrence Crowl 716-275-5766 University of Rochester Computer Science Department ...!{allegra,decvax,seismo}!rochester!crowl Rochester, New York, 14627