arch-sparc: Fix wrong indentation causing warnings for gcc 6
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Wed, 26 Apr 2017 09:52:13 +0000 (10:52 +0100)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 1 May 2017 14:54:38 +0000 (14:54 +0000)
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>

src/arch/sparc/isa/base.isa
src/arch/sparc/isa/formats/mem/util.isa

index 8a964cbe236e43d3f9b218c14b8420d97c78e82e..90013ae42de2faf3828849ffd2041b0afb4757ee 100644 (file)
@@ -458,7 +458,7 @@ output decoder {{
             if (_numDestRegs > 0) {
                 if (_numSrcRegs > 0)
                     ss << ",";
-                    printReg(ss, _destRegIdx[0]);
+                printReg(ss, _destRegIdx[0]);
             }
 
             return ss.str();
index a5c64dda545dc98aa47093edae9a2ea9e49bc3bb..0a07f55ddaefac5481e25c8cb9de61f37bb696c1 100644 (file)
@@ -326,8 +326,9 @@ let {{
     '''
 
     TruncateEA = '''
-        if (!FullSystem)
+        if (!FullSystem) {
             EA = Pstate.am ? EA<31:0> : EA;
+        }
     '''
 }};