> oh i think I see now...
>
> This shadow set code and DSP/MT was done by myself and some of the MIPS
> guys...
>
> Anyway, the issue is probably that the value for "NumShadowSets" or
> something is set to 0 or a wrong value causing the bad access.
Well, if you look at the code in isa_traits.hh, NumShadowRegSets is
multiplied by NumIntArchRegs, whereas in decoder.isa, something is
being multipled by NumIntRegs (which is the total number of regs).
So, my guess is that the rdpgpr and wrpgrp instructions are
implemented incorrectly.  Are there any other mips regression tests
anywhere?  Right now, we only have hello world, and that's not exactly
going to provide coverage.

> I'll see if I can look into it...
>
> But this is an actual compile-time error? I must be using a previous g++...
It's a warning in gcc 4.3 (and a good one).

Thanks,

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

Reply via email to