memory usage

Frank Ch. Eigler fche@redhat.com
Fri Dec 8 05:19:00 GMT 2000


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
-- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6MN++VZbdDOm/ZT0RAnA7AJ4ghwU25eLdVq7IbxlI0f3TqmKX4ACdEQdD
KjIhXtmRTlZnLncIYmKITXI=
=hlJM
-----END PGP SIGNATURE-----


More information about the Cgen mailing list