Hi,
I want to modify the instruction format in such a way that contain the
branch and target addresses which this instruction belongs to. For
example, if the branch is in X and the target is Y, the Y+1th
instruction has this format:
-------------------------------
| Y+1 | X | Y | ..... |
-------------------------------
The branch and target also has this format. To do that, I need to find
where is the struct/class of instruction format. Looking at
dyn_inst.hh, I see this
/** Binary machine instruction type. */
typedef TheISA::MachInst MachInst;
Does that actually show the instruction address. In my example, is it
true that for the instruction at address Y+1,
MachInst=Y+1
Is my understanding correct?
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users