summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/sparc/isa/base.isa2
-rw-r--r--src/arch/sparc/isa/formats/mem/util.isa3
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;
+ }
'''
}};