The execute methods are all generated upon compiling M5. They're described in our ISA description language in the m5/arch/alpha/isa_desc file, and when they are generated they are placed in the m5/build/ALPHA_*/arch/alpha/ directory. After you compile M5 there should be decoder.hh, decoder.cc, and several *_exec.cc files in there. Those 3 files describe the classes for all of the instructions, and their execution methods. Each *_exec.cc file is for a specific CPU model; they are all almost identical, other than the function arguments and some include files.

Hopefully this helps,
Kevin

Shruti Karbhari wrote:

Hello everybody:

I am not very clear with instruction execution under the FullCPU model
in M5. I gathered from the documentation that in
cpu/static_inst_impl.hh, the execute() function is defined as a pure
virtual function for different CPU models. However I am not able to
find the actual implementation of the function. Can someone please
point me to the correct file?

Thanks & Regards,
Shruti




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users

Reply via email to