mips,cpu: Get rid of the IsERET StaticInst flag.
authorGabe Black <gabeblack@google.com>
Sun, 30 Aug 2020 08:32:43 +0000 (01:32 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 15 Sep 2020 08:03:19 +0000 (08:03 +0000)
This is set by MIPS but doesn't have an accessor in StaticInst, and
isn't used by anything.

Change-Id: Ie28d2df134dcf264bca17c9c66dd32515a240492
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33738
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
src/arch/mips/isa/decoder.isa
src/cpu/StaticInstFlags.py

index f62000ebea57661ecd7f41c06f6cf2345b5ef6b0..76453b09f63e4925bbdb71d9ece5fea80ee615df 100644 (file)
@@ -719,7 +719,7 @@ decode OPCODE_HI default Unknown::unknown() {
                         LLFlag = 0;
                         Status = status;
                         SRSCtl = srsCtl;
-                    }}, IsReturn, IsSerializing, IsERET);
+                    }}, IsReturn, IsSerializing);
 
                     0x1F: deret({{
                         DebugReg debug = Debug;
@@ -732,7 +732,7 @@ decode OPCODE_HI default Unknown::unknown() {
                             // Undefined;
                         }
                         Debug = debug;
-                    }}, IsReturn, IsSerializing, IsERET);
+                    }}, IsReturn, IsSerializing);
                 }
                 format CP0TLB {
                     0x01: tlbr({{
index acaa7bfca5c2f14dfd2b2303a77d092306618066..b70f919b046330c9ce55f26ae0e6b8699b550365 100644 (file)
@@ -85,7 +85,6 @@ class StaticInstFlags(Enum):
         'IsMemBarrier',     # Is a memory barrier
         'IsWriteBarrier',   # Is a write barrier
         'IsReadBarrier',    # Is a read barrier
-        'IsERET',           # <- Causes the IFU to stall (MIPS ISA)
 
         'IsNonSpeculative', # Should not be executed speculatively
         'IsQuiesce',        # Is a quiesce instruction