> I need to add a new instruction which takes an immediate value as operand. > This instruction would need to interact with the gem5 simulator like the > checkpoint instruction does. As per my understanding, this means it would be > a pseudo instruction. How can I go about adding such an instruction?
I suggest just looking at some of the pseudo instructions and see how they work. You end up having to touch a number of files, but the recipe is pretty straightforward. The only difference is that you might choose to use a different format since you're taking the immediate instead of using registers. Nate _______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
