I don't know where this happens, but I second Korey's suggestion. The  
O3 cpu doesn't speculate around misc registers, so if you want to be  
able to speculate at all with an ISA that has a condition code or  
other such register, renaming it (or part of it) as an integer  
register is normally the way to go.

Ali

On Oct 8, 2009, at 8:26 AM, Korey Sewell wrote:

>
> In PowerPC, a lot of branches depend on a miscreg (the control  
> register,
> possibly also the count register) so this could be a problem for me.
> A question would be: is it reasonable to consider the misc.  
> registers that you are referring to in PowerPC as integer registers?  
> For example, in MIPS there are HI/LO registers that need to be  
> accounted for. You could call those "misc." registers, but in  
> reality those are part of the integer register file. So what I'm  
> getting at is, are you sure that those registers (control/count/ 
> etc.) should be specified as misc. registers?
>
> To my understanding, misc. registers should be registers that are  
> controlled by the kernel (and probably some larger system state),  
> thus you want to be careful about speculating on those types of  
> registers.
>
> If you are convinced that the registers that you refer to are really  
> just extra integer registers, than adding them to the Integer  
> register file will probably solve your problem. But if those  
> registers are indicative of some other system state then a more  
> elegant solution is probably in order...
>
> Any one else have thoughts?
>
>
> -- 
> - Korey
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to