From: Gabe Black Date: Sun, 30 Aug 2020 08:32:43 +0000 (-0700) Subject: mips,cpu: Get rid of the IsERET StaticInst flag. X-Git-Tag: develop-gem5-snapshot~759 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d64465c02482fc2afa4c1467650976856c9a440a;p=gem5.git mips,cpu: Get rid of the IsERET StaticInst flag. 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 Tested-by: kokoro Reviewed-by: Jason Lowe-Power --- diff --git a/src/arch/mips/isa/decoder.isa b/src/arch/mips/isa/decoder.isa index f62000ebe..76453b09f 100644 --- a/src/arch/mips/isa/decoder.isa +++ b/src/arch/mips/isa/decoder.isa @@ -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({{ diff --git a/src/cpu/StaticInstFlags.py b/src/cpu/StaticInstFlags.py index acaa7bfca..b70f919b0 100644 --- a/src/cpu/StaticInstFlags.py +++ b/src/cpu/StaticInstFlags.py @@ -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