Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!nike!oliveb!glacier!mips!mash From: mash@mips.UUCP (John Mashey) Newsgroups: net.arch Subject: Re: Where are delayed branches handled? Message-ID: <624@mips.UUCP> Date: Fri, 15-Aug-86 23:23:40 EDT Article-I.D.: mips.624 Posted: Fri Aug 15 23:23:40 1986 Date-Received: Sun, 17-Aug-86 07:33:21 EDT References: <299@vaxb.calgary.UUCP> <823@jplgodo.UUCP> Reply-To: mash@mips.UUCP (John Mashey) Organization: MIPS Computer Systems, Sunnyvale, CA Lines: 21 In article <823@jplgodo.UUCP> steve@jplgodo.UUCP (Steve Schlaifer x43171 301/167) writes: >An optimizing assembler? What a disaster that would be. I want assemblers to >leave my code exactly as I wrote it.... > >To answer your question, the compiler is the only place where such >optimizations can reasonably be done. 1) This is an example of an authoritatively-stated non-fact, a thing seen all too often on the net. A better to way to express this opinion might be: "It is my opinion that compilers are the place to do this. Does anybody know of real counterexamples?" 2) The MIPS assembler does this all the time, and it works fine. 3) There are occasional cases where you do want to turn it off: for example: architectural verification tests often want to generate very precisely-chosen code. -- -john mashey DISCLAIMER: UUCP: {decvax,ucbvax,ihnp4}!decwrl!mips!mash, DDD: 408-720-1700, x253 USPS: MIPS Computer Systems, 930 E. Arques, Sunnyvale, CA 94086