On Tue, Dec 6, 2011 at 8:27 AM, Aziz Eker <[email protected]>wrote:
> Hello, > > I want to track architectural register values like rax, rbx, rcx, etc. > after and before each macro-op. I see that ptlhwdef.h defines them as macro > (like REG_rax), but I am not sure I can get their value using only their > names. > > All architectural registers are renamed in 'OOO' core ( http://en.wikipedia.org/wiki/Register_renaming). You can track the renaming via RegisterRenameTable structures 'specrrt' and 'commitrrt'. The table is indexed with architectural registers, for example to get Physical register for RAX in specrrt, use 'specrrt[REG_rax]'. - Avadh I would appreciate any help or idea. > > Best, > Aziz > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > >
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
