It's based on the architecture, and it's not changeable. As I mentioned below, 
while there are visible integer registers at any time there are shadow copies 
of many of them as well as condition code registers, uop registers, etc. 

See src/arch/arm/intregs.hh for a list. 

Ali

On Oct 20, 2011, at 5:56 AM, MJose Díaz wrote:

> Thank you 
> 
> With respect to number of physical registers: I've changed this value to 15. 
> However, the NUM_INTREGS  variable appears as 42 and I do not find where 42 
> is assigned to NUM_INTREGS. 
> 
> Thank you in advance. 
> 
> 2011/10/16 Ali Saidi <[email protected]>
> 
> On Oct 16, 2011, at 4:09 AM, MJose Díaz wrote:
> 
> > Hi
> > I am new to gem5. I am sorry if questions are basic questions.
> >
> > Firstly, I would like to change some parameters as number of physical 
> > registers,
> See O3CPU.py
> 
> 
> 
> > numbers of registers banks,
> This isn't modeled in gem5
> 
> 
> > simulation time
> This depends on your workload and how long you decide to run for
> 
> 
> > , new statistics
> Statistics are normally placed in the the SimObject that generates them.
> 
> > , etc.  where can I do it?.
> Please look at the tutorial document on the website.
> 
> >
> > Secondly, I am modifying some file of gem5 to get customized statistics 
> > however, when I build the system again, this information does not appears. 
> > The only thing I do is: "scons  build/<system>/<config>" to build the 
> > system again, with a set of new statistics.
> scons/buld/ARM_SE/gem5.opt
> 
> 
> >
> > Next, I need to know if the number of register is number of physical 
> > register. It means that when I simulate a simple script to ARM_SE for 
> > example, I get information as the number of integer registers 33,39,etc., 
> > but "ARM" has 15 integer registers. Where can I see if the simulation 
> > process uses rotated registers?
> >
> There are 15 user accessible registers at any given time, but there are 
> shadow copies of the lr for all the different irq modes, the flags register, 
> etc that also count as integer registers.
> 
> Ali
> 
> 
> > Thank you in advance
> >
> > --------------------------------------------------------------
> > Un saludo
> > Mª José Díaz Álvarez
> > Arquitectura y Tecnología de los Computadores
> > Centro Universitario de Mérida
> > 06800-Mérida
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 
> 
> 
> -- 
> --------------------------------------------------------------
> Un saludo
> Mª José Díaz Álvarez
> Arquitectura y Tecnología de los Computadores
> Centro Universitario de Mérida
> 06800-Mérida
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to