delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/22/14:35:45

Date: Mon, 22 Jul 1996 14:28:10 -0400 (EDT)
From: Nissim Chudnoff <nchudnof AT mbhs DOT edu>
To: DJGPP Questions <djgpp AT delorie DOT com>
Subject: Auto-Optimze
Message-ID: <Pine.LNX.3.93.960722142557.22379A-100000@binx.mbhs.edu>
MIME-Version: 1.0

Will DJGPP substitute a bit shift for a multiply by power of 2?
I heard that if you are doing say:
var = wow * 64

Some compilers will place a bit shift in the output code to speed it up.

Thanks!
-*-*-*-*-*-*-*-*-*-                          *-*-*-*-*-*-*-*-*
* Nissim Chudnoff *-*-*-*-*-*-*-*-*-*-*-*-*-*- Klass of '99! *
*    <nchudnof AT mbhs DOT edu>   || <http://mmm.mbhs.edu/~nchudnof *
* -------------------------'`------------------------------- *
* "One Dilbert Is One Dilbert Too Many" -Nissim              *
* ---------------------------------------------------------- *
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
"ID4: You Can't Save The World On A MAC- The Software Hasn't Been Ported 
Yet!" -Nissim

- Raw text -


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