xuxin  writes:

>> From: vilan...@ac.upc.edu
>> To: gem5-users@gem5.org
>> Date: Thu, 16 Aug 2012 02:22:57 +0300
>> Subject: Re: [gem5-users] passing hints to the memory system

>> 
>> It will probably be easier to use util/m5/m5op.h. If none of the provided
>> routines fit your needs, you can add your own.
>> 
>> 
>> Lluis
>> 


> you mean could add pseudo instruction to binary?

Exactly.


> could you give some example or links.

http://www.m5sim.org/M5ops

But you'll have to dig into the code to understand how it works, specially if
you want to add a new pseudo instruction (e.g., "m5_work_begin" in
"src/arch/x86/isa/decoder/two_byte_opcodes.isa" and files in "util/m5/").


Lluis

-- 
 "And it's much the same thing with knowledge, for whenever you learn
 something new, the whole world becomes that much richer."
 -- The Princess of Pure Reason, as told by Norton Juster in The Phantom
 Tollbooth
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to