On Wed, Jun 20, 2012 at 2:09 PM, Aziz Eker <[email protected]>wrote:

> Hello,
>
> Before, I was trying to collect microops, and as Avadh 
> suggested<http://article.gmane.org/gmane.comp.emulators.marss86/695>,
> I added some code to print bbcache contents before flushing them. Checking
> the atomcore.cpp file, I could not see a similar structure. Is there anyway
> to collect Atomops in a simulation?
>
> Translated uops are stored in bbcache to improve simulator performance,
but we dont store such uops for Atom core.  We create 'AtomOp' on the fly
by merging upto 4 uops of same instruction.  So if you want to generate
dump of AtomOps, you can print them to a file but it will be huge because
it will print duplicates. You can create a buffer like 'bbcache' (which is
a simple HashTable) to store these AtomOps and dump them at the end of
simulation.

- Avadh

Thank you very much for such a useful simulator.
>
> 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

Reply via email to