|caching global variables in registers email@example.com (Richard F. Man) (1999-11-18)|
|From:||"Richard F. Man" <firstname.lastname@example.org>|
|Date:||18 Nov 1999 02:53:16 -0500|
|Organization:||ImageCraft Creations Inc.|
Consider that loading from memory is expensive, what is the preferred
way of caching global variables. This is under the context of a C
compiler, and we can assume that without the volatile qualifier,
there will not be asynchronous update to the variables. Should this be
handled just a case of common subexpression elimination (with special
care when there are stores) or are there other techniques?
Return to the
Search the comp.compilers archives again.