Hey Gabe,

I don't know if this helps, but I remember a lot of problems with register
renaming and CC registers ~6ish years ago. IIRC, there's a separate pool of
physical registers for the CC registers so that they do not limit the
renaming of "normal" registers.

There were probably some discussions on the former reviewboard about this.
But again, it was so long ago that I don't remember the exact context. In
fact, this might not have anything to do with why they are special
registers.

Cheers,
Jason

On Mon, Oct 15, 2018 at 8:57 PM Gabe Black <gabebl...@google.com> wrote:

> Hey folks. I think I'm missing some context from when I was away from gem5.
> Does anyone know why there's a separate register file defined explicitly
> for condition code registers? Why is having them as integer registers not
> sufficient?
>
> Also as a general point, it's bad form to have "generic" features like this
> which are hidden behind #ifdefs and #defines and only implemented for one
> or two ISAs. Another example of this is a feature in MIPS which it uses to
> read registers of other threads and which is only available in that ISA. If
> the primitives available for ISAs aren't sufficient lets fix that, not add
> on ISA specific extensions which are unused or incompatible with most of
> the ISAs and hidden behind flags.
>
> Gabe
> _______________________________________________
> gem5-dev mailing list
> gem5-dev@gem5.org
> http://m5sim.org/mailman/listinfo/gem5-dev
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to