www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/23/18:30:18

From: sam AT greenaumARSE!ARSE!ARSE!.demon.co.uk
Newsgroups: comp.os.msdos.djgpp
Subject: Re: New convert has a question
Date: Sun, 23 May 1999 21:48:27 GMT
Organization: Rossum's Universal Robots
Message-ID: <376477a6.26162626@158.152.254.76>
References: <7hv665$pni$1 AT news6 DOT svr DOT pol DOT co DOT uk> <37433E36 DOT 76780C62 AT cartsys DOT com>
NNTP-Posting-Host: greenaum.demon.co.uk
X-NNTP-Posting-Host: greenaum.demon.co.uk:194.222.71.189
X-Trace: news.demon.co.uk 927496107 nnrp-11:26425 NO-IDENT greenaum.demon.co.uk:194.222.71.189
X-Complaints-To: abuse AT demon DOT net
X-Newsreader: Forte Agent 1.5/32.452
X-No-Archive: yes
MIME-Version: 1.0
Lines: 18
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 19 May 1999 15:41:58 -0700, Nate Eldredge <nate AT cartsys DOT com>
sprachen:

>[Btw: Interestingly, GCC generates better code for `y * 320' than for
>`(y << 6) + (y << 8)'.  Try them and see.  Hint: The `lea' instruction
>can multiply by five!]

I never knew that. Dammit. Every tutorial I've seen does it by the <<8
+ <<6 method. Curses. A relatively tiny change to my library is
required.


------------------------------------------------------------------------
      D O N ' T   V O T E   M P ' S   A R E   A L L   C R O O K S 
   
                     http://www.greenaum.demon.co.uk/     

Protect privacy, boycott Intel: http://www.bigbrotherinside.org

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019