Hi Yuan. ExtMachInst is the contextualized, canonical version of an instruction. In x86 for instance, it holds all the information needed to decode an instruction in a single fixed structure instead of a sequence of bytes. It includes contextual information like how big addresses and operands are configured to be when that instruction executes.
At one time, MachInst was an instruction as represented in memory. Now it's approximately that sometimes, but really is just the unit of memory that's fetched at a time to feed into the predecoder to create an ExtMachInst, and then that into the actual decoder to make a StaticInst. Gabe On Thu, Feb 20, 2020 at 6:36 PM Shougang Yuan <syu...@ncsu.edu> wrote: > Hi, All, > > I am getting confused about "ExtMachInst", it is used a lot in cpu side, > and the only explanation about it I found is in the static_inst.hh, a short > description of "Binary extended machine instruction type". Can anyone > provide more details about this? I am quite confused about this part. > Thanks. > > Best regards. > > Yuan > _______________________________________________ > 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