Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!rochester!pt.cs.cmu.edu!andrew.cmu.edu!jk3k+ From: jk3k+@andrew.cmu.edu (Joe Keane) Newsgroups: comp.arch Subject: Re: Endian reversing MOVEs Message-ID: Date: 9 Feb 89 01:16:06 GMT References: <759@atanasoff.cs.iastate.edu> <772@atanasoff.cs.iastate.edu> , <776@atanasoff.cs.iastate.edu> Organization: Mathematics, Carnegie Mellon, Pittsburgh, PA Lines: 11 In-Reply-To: <776@atanasoff.cs.iastate.edu> John Hascall writes VAX code with: > 7 instructions, 0 memory references.... Yeah, but it's 29 bytes instead of 12, and probably a lot slower to boot. Anyway, this is pretty silly; the RT happens to have instructions which make it easy. I don't know why they're there; i've never seen the compiler use them, although gcc might. > p.s. Is ROTL #24,Rx faster/slower than ROTL #-8,Rx ? anyone? > I'm guessing it's faster because you can write #24 as a > short-literal... It should be.