arch-power: Added dummy register
authorKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 06:04:45 +0000 (11:34 +0530)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 08:51:17 +0000 (14:21 +0530)
Added dummy register to avoid clearing of required register data.

Change-Id: Ic65f2c01d59c6ba7f84b13fa15ea6af85f2e8d86
Signed-off-by: Kajol Jain <kajoljain797@gmail.com>
src/arch/power/registers.hh

index ad5820bdf18dc26cb6a31c373237375af204d97b..decc52ba192f281760288bcdf818b79daa7f0ce0 100644 (file)
@@ -68,7 +68,7 @@ const int NumIntArchRegs = 32;
 
 // CR, XER, LR, CTR, TAR, FPSCR, RSV, RSV-LEN, RSV-ADDR
 // and zero register, which doesn't actually exist but needs a number
-const int NumIntSpecialRegs = 88;
+const int NumIntSpecialRegs = 89;
 const int NumFloatArchRegs = 32;
 const int NumFloatSpecialRegs = 0;
 const int NumInternalProcRegs = 0;
@@ -189,7 +189,8 @@ enum MiscIntRegNums {
     INTREG_IC,
     INTREG_VTB,
     INTREG_HSPRG1,
-    INTREG_PIR
+    INTREG_PIR,
+    INTREG_DUMMY
 };
 
 } // namespace PowerISA