[ColorForth] drop/dup Optimization
- Subject: [ColorForth] drop/dup Optimization
- From: Kristopher Johnson <kristopher_d_johnson@xxxxxxxxx>
- Date: Sat, 15 Sep 2001 10:11:48 -0700 (PDT)
--- Jeff Fox <fox@xxxxxxxxxxxxxxxxxxx> wrote:
> > Or maybe I'm missing something related to the caching
> > of the top-of-stack in EAX. Or maybe the optimization
> > is more sophisticated, being triggered only in
> > situations where "DROP DUP" really is a no-op.
>
> You may have just been expecting it to be more complicated than
> it really is. It really is quite simple.
>
> Jeff Fox
OK, maybe I just misinterpreted what it said on Chuck's page. I assumed it
meant that every occurrence of "DROP DUP" would be eliminated. If it only
happens in certain cases (like for 0, -1, and other literals), where the value
being DUP-ed doesn't matter, then I'm not worried.
-- Kris
__________________________________________________
Terrorist Attacks on U.S. - How can you help?
Donate cash, emergency relief information
http://dailynews.yahoo.com/fc/US/Emergency_Information/
------------------------
To Unsubscribe from this list, send mail to Mdaemon@xxxxxxxxxxxxxxxxxx with:
unsubscribe ColorForth
as the first and only line within the message body
Problems - List-Admin@xxxxxxxxxxxxxxxxxx
Main ColorForth site - http://www.colorforth.com