gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Rename reads for McPAT

PH
Pedro Henrique Exenberger Becker
Fri, Jul 1, 2022 10:37 AM

Hi all,

I'm adapting one of these gem5 <-> McPAT tools. All the ones I found are
old and need correction in the name of the stats to be looked up before
filling McPAT XML templates.
At some point McPAT xml file needs data for 'rename_reads' and
'fp_rename_reads'.

In my understanding (looking at examples) this should be filled with one of
the following (data from my stats.txt in ARM + se.py + DerivO3CPU +
pre-built hello world app):

*system.cpu.rename.lookups                      60578

Number of register rename lookups that rename has made

(Count)system.cpu.rename.intLookups                    14320
# Number of integer rename lookups
(Count)system.cpu.rename.vecLookups                      216
# Number of vector rename lookups (Count)*

My question is why the intLookups differ so much from the absolute number
of lookups? And why adding int and vec lookups does not equal all lookups?
I'm running the hello world application, with no use of floating-point, so
I'd expect lookups and intLookups to be the same as lookups (or at least
very similar).

P.S.: If anyone has a pointer to an up-to-date version of these converters,
that would be great.

Thank you.

--
Pedro Henrique Exenberger Becker
Ph.D. Student at Universitat Polit├Ęcnica de Catalunya

Hi all, I'm adapting one of these gem5 <-> McPAT tools. All the ones I found are old and need correction in the name of the stats to be looked up before filling McPAT XML templates. At some point McPAT xml file needs data for 'rename_reads' and 'fp_rename_reads'. In my understanding (looking at examples) this should be filled with one of the following (data from my stats.txt in ARM + se.py + DerivO3CPU + pre-built hello world app): *system.cpu.rename.lookups 60578 # Number of register rename lookups that rename has made (Count)system.cpu.rename.intLookups 14320 # Number of integer rename lookups (Count)system.cpu.rename.vecLookups 216 # Number of vector rename lookups (Count)* My question is why the intLookups differ so much from the absolute number of lookups? And why adding int and vec lookups does not equal all lookups? I'm running the hello world application, with no use of floating-point, so I'd expect lookups and intLookups to be the same as lookups (or at least very similar). P.S.: If anyone has a pointer to an up-to-date version of these converters, that would be great. Thank you. -- Pedro Henrique Exenberger Becker Ph.D. Student at Universitat Polit├Ęcnica de Catalunya