mem-cache: Add more compression stats
[gem5.git] / src / proto / inst.proto
index d561661f16e17c271436ea71341060c8836a8029..ef44dfe43c7ad3bef20cbd0bf296f969fd1e5843 100644 (file)
@@ -52,10 +52,13 @@ message InstHeader {
 
 message Inst {
   required uint64 pc = 1;
-  oneof inst_oneof {
-    fixed32 inst = 2;
-    bytes inst_bytes = 9;
-  }
+
+  // Either inst or inst_bytes must be used, but never both. That should be
+  // enforced by the oneof keyword, but that's not supported in all versions
+  // of protobuf syntax we need to work with for now.
+  optional fixed32 inst = 2;
+  optional bytes inst_bytes = 9;
+
   optional uint32 nodeid = 3;
   optional uint32 cpuid = 4;
   optional fixed64 tick = 5;
@@ -98,6 +101,8 @@ message Inst {
   }
 
   optional InstType type = 6; // add, mul, fp add, load, store, simd add, …
+
+  // Deprecated:
   optional uint32 inst_flags = 7; // execution mode information
 
   // If the operation does one or more memory accesses