This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: memory usage


Hi -

On Fri, Dec 08, 2000 at 11:31:20AM +0100, Johan Rydberg wrote:
: [...]  Well, here's next stupid 
: question:  Is there anyway to redefine these macros in some pretty/nice
: way, or do I have to un- and redefine all macros?

The GET/SET*MEM calls are not defined by cgen itself, but
rather the runtime environment of its generated code.  If
you want these functions to do something else, change the
environment.

(Modelling classical CPU i/d caches is also outside cgen's
domain.  A couple of sims do intercept the *MEM calls and
pass them through their cache modelling logic.  No such
code is publically available right now though.)

- FChE

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]