From c5bfa6e4102c6aac73a80d50021105a39e4962bd Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Wed, 26 Apr 2017 10:52:13 +0100 Subject: arch-sparc: Fix wrong indentation causing warnings for gcc 6 Change-Id: I94e15ae79f0e73692d882f62fd2b7bf45cf0c841 Reviewed-by: Curtis Dunham Reviewed-on: https://gem5-review.googlesource.com/2900 Reviewed-by: Jason Lowe-Power Reviewed-by: Gabe Black Maintainer: Jason Lowe-Power --- src/arch/sparc/isa/base.isa | 2 +- src/arch/sparc/isa/formats/mem/util.isa | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/arch/sparc/isa/base.isa b/src/arch/sparc/isa/base.isa index 8a964cbe2..90013ae42 100644 --- a/src/arch/sparc/isa/base.isa +++ b/src/arch/sparc/isa/base.isa @@ -458,7 +458,7 @@ output decoder {{ if (_numDestRegs > 0) { if (_numSrcRegs > 0) ss << ","; - printReg(ss, _destRegIdx[0]); + printReg(ss, _destRegIdx[0]); } return ss.str(); diff --git a/src/arch/sparc/isa/formats/mem/util.isa b/src/arch/sparc/isa/formats/mem/util.isa index a5c64dda5..0a07f55dd 100644 --- a/src/arch/sparc/isa/formats/mem/util.isa +++ b/src/arch/sparc/isa/formats/mem/util.isa @@ -326,8 +326,9 @@ let {{ ''' TruncateEA = ''' - if (!FullSystem) + if (!FullSystem) { EA = Pstate.am ? EA<31:0> : EA; + } ''' }}; -- cgit v1.2.3