arch-arm: Reorder arch/arm/registers.hh constants
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 18 Nov 2019 14:36:57 +0000 (14:36 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 10 Dec 2019 10:15:05 +0000 (10:15 +0000)
commit2b72ab23abe26186403e06ce7378210a63eeff2b
treedc42a50e4be2dff9c99a7c1e55b68da1f4bc3965
parent3a5ff476ffdcfcef2a6d0427d9add590984596e7
arch-arm: Reorder arch/arm/registers.hh constants

This is putting some order in the constants definition, respecting
the description which divides:

* Constants Related to the number of registers
 (example: const int NumFloatRegs = 0)

from:

* Semantically meaningful register indices (to indicate special
  registers)
 (example: const int INTRLVREG0 = NumVecV8ArchRegs + NumVecSpecialRegs)

Change-Id: I1760b7f786b6f6becbe8ab445e65fc3fa17206cb
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23104
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/registers.hh