cpu: Get rid of the unused IsMicroBranch StaticInst flag.
authorGabe Black <gabeblack@google.com>
Sun, 30 Aug 2020 09:51:21 +0000 (02:51 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 15 Sep 2020 20:36:34 +0000 (20:36 +0000)
This flag was never set, nor read.

Change-Id: I74506c220d96b53dcd44740639286b1dbbe84d2e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33742
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/cpu/StaticInstFlags.py
src/cpu/base_dyn_inst.hh
src/cpu/static_inst.hh

index 316aef4faba2b00ad070483040fafcb44c186c57..8db54430b3b0d2b4f99b74c6c8adf685eb454cbf 100644 (file)
@@ -99,9 +99,6 @@ class StaticInstFlags(Enum):
         'IsDelayedCommit',  # This microop doesn't commit right away
         'IsLastMicroop',    # This microop ends a microop sequence
         'IsFirstMicroop',   # This microop begins a microop sequence
-        # This flag doesn't do anything yet
-        'IsMicroBranch',    # This microop branches within the microcode for
-                            # a macroop
 
         'IsSquashAfter',     # Squash all uncommitted state after executed
 
index 00639ad8e5aface3629814665e155d9ef164ff9f..64ed060aca005a343cebb71074e8a82bff04bba1 100644 (file)
@@ -564,7 +564,6 @@ class BaseDynInst : public ExecContext, public RefCounted
     bool isDelayedCommit() const { return staticInst->isDelayedCommit(); }
     bool isLastMicroop() const { return staticInst->isLastMicroop(); }
     bool isFirstMicroop() const { return staticInst->isFirstMicroop(); }
-    bool isMicroBranch() const { return staticInst->isMicroBranch(); }
     // hardware transactional memory
     bool isHtmStart() const { return staticInst->isHtmStart(); }
     bool isHtmStop() const { return staticInst->isHtmStop(); }
index 0a871cfc62891471e9c1a0b45f928dd73ed4a09d..f77193a4488b3446ee0052a517597715b638807e 100644 (file)
@@ -196,8 +196,6 @@ class StaticInst : public RefCounted, public StaticInstFlags
     bool isDelayedCommit() const { return flags[IsDelayedCommit]; }
     bool isLastMicroop() const { return flags[IsLastMicroop]; }
     bool isFirstMicroop() const { return flags[IsFirstMicroop]; }
-    //This flag doesn't do anything yet
-    bool isMicroBranch() const { return flags[IsMicroBranch]; }
     // hardware transactional memory
     // HtmCmds must be identified as such in order
     // to provide them with necessary memory ordering semantics.