sim,misc: Rename M5OP_ANNOTATE to M5OP_RESERVED1.
authorGabe Black <gabeblack@google.com>
Thu, 26 Mar 2020 23:27:47 +0000 (16:27 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 28 Apr 2020 01:07:43 +0000 (01:07 +0000)
The M5OP_ANNOTATE constant is unused and treated as a reserved op in
gem5. Rename it to make it official and consistent.

Change-Id: Id5fe6a3aa402a2e0cd187503abff9b09e81b3724
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27235
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
include/gem5/asm/generic/m5ops.h
src/sim/pseudo_inst.hh

index 38eaeb175c4ddc1b75bb8663240fc248dc1e2d3f..4771085d183c4139b66a85e0d8098af080ab4aa4 100644 (file)
@@ -66,7 +66,7 @@
 #define M5OP_ADD_SYMBOL         0x53
 #define M5OP_PANIC              0x54
 
-#define M5OP_ANNOTATE           0x55 // deprecated annotate function
+#define M5OP_RESERVED1          0x55 // Reserved for user, used to be annotate
 #define M5OP_RESERVED2          0x56 // Reserved for user
 #define M5OP_RESERVED3          0x57 // Reserved for user
 #define M5OP_RESERVED4          0x58 // Reserved for user
index be9e5bb639065a2678f194dae89e249b295a17c4..6a63812dc70a137f69f406777a88ae8d64e9c3dc 100644 (file)
@@ -234,7 +234,7 @@ pseudoInst(ThreadContext *tc, uint8_t func, uint64_t &result)
         invokeSimcall<ABI>(tc, workend);
         return true;
 
-      case M5OP_ANNOTATE:
+      case M5OP_RESERVED1:
       case M5OP_RESERVED2:
       case M5OP_RESERVED3:
       case M5OP_RESERVED4: