From: Giacomo Travaglini Date: Wed, 9 May 2018 16:56:03 +0000 (+0100) Subject: arch-arm: S3____ are Implementation defined X-Git-Tag: v19.0.0.0~2108 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84ba92ed750ce7b4183f6c2054dbf60d498053c6;p=gem5.git arch-arm: S3____ are Implementation defined In the AArch64 ISA, S3____ refers to a pool of implementation defined registers, provided that reg numbers are in the following range: is in the range 0 - 7 can take the values 11, 15 is in the range 0 - 15 is in the range 0 - 7 Change-Id: I7edd013e5cea4887f5e4c5a81f4835b7de93bd50 Signed-off-by: Giacomo Travaglini Reviewed-by: Andreas Sandberg Reviewed-on: https://gem5-review.googlesource.com/10501 Maintainer: Andreas Sandberg --- diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index e1ddbf9d3..08e37bb70 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -2082,9 +2082,12 @@ decodeAArch64SysReg(unsigned op0, unsigned op1, } break; } - break; + M5_FALLTHROUGH; + default: + // S3__11__ + return MISCREG_IMPDEF_UNIMPL; } - break; + M5_UNREACHABLE; case 12: switch (op1) { case 0: @@ -2370,7 +2373,8 @@ decodeAArch64SysReg(unsigned op0, unsigned op1, } break; } - break; + // S3__15__ + return MISCREG_IMPDEF_UNIMPL; } break; }