[m5-dev] Predecoder Re-Write?

2009-04-20 Thread Korey Sewell
In reference to src/arch/*/predecoder.hh: I really think that somehow this predecoder code needs to be generalized since if you look at the predecoder.hh for alpha,mips,arm, sparc they are 90% the same code. The difference for those ISAs is just the moreBytes function which is still pretty much

Re: [m5-dev] Predecoder Re-Write?

2009-04-20 Thread Gabe Black
They are mostly the same code because otherwise you've got virtual functions, and for something that performance critical that would be bad news. There are lots of other places (lots in the CPUs) where there is duplicated code for the same reason. That would be at most a reorganization anyway, not

Re: [m5-dev] Predecoder Re-Write?

2009-04-20 Thread Korey Sewell
I guess I dont understand why the in-depth specialization and functions when only x86 seems to really use the predecoder and the only function that mildly vary is the moreBytes. Also, the process and reset functions literally have no code there so I guess they are harmless since the compiler will

[m5-dev] Configuration files/tables for/in the simulated guest.

2009-04-20 Thread Gabriel Michael Black
Anybody? Quoting Gabe Black gbl...@eecs.umich.edu: I reordered my patches so that I could push this, and now all of the remaining ones are dependent on or are hacks that force there to be two CPUs. In order to push these last ~5 patches, I need to know how many CPUs there are when I'm