ARM: Fix the integer register indexes.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 11 Nov 2009 04:19:55 +0000 (20:19 -0800)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 11 Nov 2009 04:19:55 +0000 (20:19 -0800)
commit4779020e139c70355335729b504195a0e5009e7a
tree71c289770b458c65ac46cca33a16719eda31b1d1
parent53e27c0277a41ab1cae45d82fb4409f65cf660c3
ARM: Fix the integer register indexes.

The PC indexes in the various register sets was defined in the section for
unaliased registers which was throwing off the indexing. This moves those
where they belong. Also, to make detecting accesses to the PC easier and
because it's in the same place in all modes, the intRegForceUser function
now passes it through as index 15.
src/arch/arm/intregs.hh