On Sun, May 19, 2019 at 8:04 PM Shyam Murthy <[email protected]> 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 > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
