From: Gabe Black Date: Mon, 29 May 2006 04:02:44 +0000 (-0400) Subject: Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions. X-Git-Tag: m5_2.0_beta1~66^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b855592eb41d76fa33a6cc3e4ab2212d6bdecf2;p=gem5.git Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions. --HG-- extra : convert_revision : a53297d595e5efd094a5978f4d3afde2c603d109 --- 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',)) }};