detecting constants at runtime

"kamath.poornima@gmail.com" <kamath.poornima@gmail.com>
19 Nov 2005 02:26:25 -0500

          From comp.compilers

Related articles
detecting constants at runtime kamath.poornima@gmail.com (kamath.poornima@gmail.com) (2005-11-19)
Re: detecting constants at runtime gene.ressler@gmail.com (Gene) (2005-11-21)
Re: detecting constants at runtime gene.ressler@gmail.com (Gene) (2005-11-21)
| List of all articles for this month |

From: "kamath.poornima@gmail.com" <kamath.poornima@gmail.com>
Newsgroups: comp.compilers
Date: 19 Nov 2005 02:26:25 -0500
Organization: http://groups.google.com
Keywords: assembler, optimize, question
Posted-Date: 19 Nov 2005 02:26:25 EST

Hi,
I Am Working On Dynamic Optimization.
Here I Am Disassebling The Executable At Runtime And Optimizing It.
For This ,I Wanted To Know Whether It Is Possible For Me To Detect
Runtime Constants Or Constants Not Detected During Static Compilation.
As I Have Assembly 80386 Instructions I Have To Work Only With
Registers And Memory Locations.
So Is There A Way To Profile These Locations Without Much Overhead.
I Have Read About Value Profiling But It Has A Lot Of Overhead.
Please Suggest Me Some Techniques.
Also Is There Any Way To Know Whether A Certain Memory Is Volatile.
This Affects The Analysis Since There Is No Explicit Assignment To The
Location.
This Is Required For Performing Optimization Like Redundant Load
Elimination.
Regards
Poornima


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.