From 2b72ab23abe26186403e06ce7378210a63eeff2b Mon Sep 17 00:00:00 2001 From: Giacomo Travaglini Date: Mon, 18 Nov 2019 14:36:57 +0000 Subject: [PATCH] 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 Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23104 Tested-by: kokoro --- src/arch/arm/registers.hh | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/src/arch/arm/registers.hh b/src/arch/arm/registers.hh index 1c9ec262a..7f6309bea 100644 --- a/src/arch/arm/registers.hh +++ b/src/arch/arm/registers.hh @@ -79,32 +79,26 @@ using ConstVecPredReg = ::VecPredRegT