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
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
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
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