Ali,
Thank you for responding.
Basically what I have set up now is a separate branch monitor program
running on a second core; I want to compare this against instrumentation
on one core. My thread context idea was to have the monitor running in a
separate thread context. Then it would be simil
Hi David,
It's certainly possible, but it's going to take some work. My random idea would
be to change how all the branch instructions are defined, so the stash their
real target address somewhere and jump to your handler. Other than that
manually instrumenting the program (or doing it with som
Hello,
I am attempting to instrument branch instructions in a program in gem5.
So far, I have code in AtomicSimpleCPU which determines when branch
instructions are executed. For every branch, I would like to call an
instrumentation function and then return to execution of the simulated
progra