summaryrefslogtreecommitdiff
path: root/src/arch/sparc/ua2005.cc
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-03-27 01:04:03 -0700
committerGabe Black <gabeblack@google.com>2018-03-27 10:57:45 +0000
commit4384493da74547e3af0537034fe2644688c388fe (patch)
tree1358fd842981775b5ac8ef90bdfd117fe3b455d7 /src/arch/sparc/ua2005.cc
parent197ae7aca7a911fb06c8e96beddfb6c5712b5561 (diff)
downloadgem5-4384493da74547e3af0537034fe2644688c388fe.tar.xz
sparc: Add some missing M5_FALLTHROUGHs and breaks.
These fix what I believe are some bugs, and also some gcc warnings. Change-Id: I5fb2a1b2f0ef3643b25aaf0c29c096996ef98ec0 Reviewed-on: https://gem5-review.googlesource.com/9402 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/arch/sparc/ua2005.cc')
-rw-r--r--src/arch/sparc/ua2005.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/sparc/ua2005.cc b/src/arch/sparc/ua2005.cc
index 274301b37..d8af29b91 100644
--- a/src/arch/sparc/ua2005.cc
+++ b/src/arch/sparc/ua2005.cc
@@ -137,6 +137,7 @@ ISA::setFSReg(int miscReg, const MiscReg &val, ThreadContext *tc)
case MISCREG_PSTATE:
setMiscRegNoEffect(miscReg, val);
+ break;
case MISCREG_PIL:
setMiscRegNoEffect(miscReg, val);