TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JERRY COFFIN
from: CAREY BLOODWORTH
date: 1997-05-07 21:31:00
subject: LOW LEVEL OPTIMIZATIO 1/2

JC>than when you use pointer notation.  A few do the reverse.  However,
JC>this is strictly a compiler question, not a hardware question.
Not entirely.  If you are writing portable code, like going from a
register poor x86 to a register richer 68k, the hardware does make a
difference.
If you are writing any sort of portable code, whether it's among
different compilers or different processors, the whole things a gamble.
JC> HS> With optimizations turned on, my compiler removes unused variables
JC> HS> from registers which can be used for something else.
JC>If you feel it's good to screw up your programs to compensate for a
JC>deficient compiler, great.  However, attacking the rest of the world
Oh,.... I don't know.  I think we ought to congratulate him and praise
his compiler for knowing enough to not keep _unused_ variables in
registers...
One odd thing about his results (one???) is that he's getting these odd
results when the thread he started was talking about DJGPP.... Which
doesn't get those results.
--- QScan/PCB v1.19b / 01-0162
---------------
* Origin: Jackalope Junction 501-785-5381 Ft Smith AR (1:3822/1)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.