diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2017-04-26 10:52:13 +0100 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2017-05-01 14:54:38 +0000 |
commit | c5bfa6e4102c6aac73a80d50021105a39e4962bd (patch) | |
tree | 66b02de4c5a6019203508f7b4582dd8e859d693f /src/arch/sparc/isa | |
parent | a517b4a6fba2674cb2a5b5b50a187473aedd4362 (diff) | |
download | gem5-c5bfa6e4102c6aac73a80d50021105a39e4962bd.tar.xz |
arch-sparc: Fix wrong indentation causing warnings for gcc 6
Change-Id: I94e15ae79f0e73692d882f62fd2b7bf45cf0c841
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/2900
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/sparc/isa')
-rw-r--r-- | src/arch/sparc/isa/base.isa | 2 | ||||
-rw-r--r-- | src/arch/sparc/isa/formats/mem/util.isa | 3 |
2 files changed, 3 insertions, 2 deletions
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; + } ''' }}; |