summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-05-29 00:02:44 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-05-29 00:02:44 -0400
commit4b855592eb41d76fa33a6cc3e4ab2212d6bdecf2 (patch)
tree24ddde9ef682379149bee4ccb06dadd0da6f5b70 /src/arch/sparc
parent5cc0306691e3d0dc65b55b9426f55e1a8a93a970 (diff)
downloadgem5-4b855592eb41d76fa33a6cc3e4ab2212d6bdecf2.tar.xz
Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions.
--HG-- extra : convert_revision : a53297d595e5efd094a5978f4d3afde2c603d109
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/isa/formats/priv.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/sparc/isa/formats/priv.isa b/src/arch/sparc/isa/formats/priv.isa
index 56b78833a..28849e621 100644
--- a/src/arch/sparc/isa/formats/priv.isa
+++ b/src/arch/sparc/isa/formats/priv.isa
@@ -121,13 +121,13 @@ def format Priv(code, *opt_flags) {{
((xc->readMiscReg(HprStart + MISCREG_HPSTATE))<2:2>)'''
(header_output, decoder_output,
exec_output, decode_block) = doPrivFormat(code,
- checkCode, name, Name, opt_flags)
+ checkCode, name, Name, opt_flags + ('IprAccessOp',))
}};
def format HPriv(code, *opt_flags) {{
checkCode = "((xc->readMiscReg(HprStart + MISCREG_HPSTATE))<2:2>)"
(header_output, decoder_output,
exec_output, decode_block) = doPrivFormat(code,
- checkCode, name, Name, opt_flags)
+ checkCode, name, Name, opt_flags + ('IprAccessOp',))
}};