Re: [gem5-users] Execute function for instructions in O3 CPU model
Thanks for the information Ciro. Thanks, Shyam On Sun, May 19, 2019 at 3:07 PM Ciro Santilli wrote: > On Sun, May 19, 2019 at 8:04 PM Shyam Murthy > wrote: > > > > Hi Gabe, > > > > Within the file src/cpu/o3/iew_impl.hh, there is a call made to execute > function within the dynamic inst class (inst->execute()). I was trying to > lookup the function definition for this, but I could only find the function > prototype within src/cpu/o3/dyn_inst.hh (Fault execute()). Where can I look > for the function definition? > > > > gem5 uses code generation heavily for cpu decode and execute. grep -r > inside the build folder and you will find all definitions there on > generated code. Then git grep identifiers, or pieces of identifiers on > source tree to try and figure out which .isa file they come from. > > > Thanks, > > Shyam > > ___ > > gem5-users mailing list > > gem5-users@gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] Execute function for instructions in O3 CPU model
On Sun, May 19, 2019 at 8:04 PM Shyam Murthy wrote: > > Hi Gabe, > > Within the file src/cpu/o3/iew_impl.hh, there is a call made to execute > function within the dynamic inst class (inst->execute()). I was trying to > lookup the function definition for this, but I could only find the function > prototype within src/cpu/o3/dyn_inst.hh (Fault execute()). Where can I look > for the function definition? > gem5 uses code generation heavily for cpu decode and execute. grep -r inside the build folder and you will find all definitions there on generated code. Then git grep identifiers, or pieces of identifiers on source tree to try and figure out which .isa file they come from. > Thanks, > Shyam > ___ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[gem5-users] Execute function for instructions in O3 CPU model
Hi Gabe, Within the file src/cpu/o3/iew_impl.hh, there is a call made to execute function within the dynamic inst class (inst->execute()). I was trying to lookup the function definition for this, but I could only find the function prototype within src/cpu/o3/dyn_inst.hh (Fault execute()). Where can I look for the function definition? Thanks, Shyam ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users