Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions.

--HG--
extra : convert_revision : a53297d595e5efd094a5978f4d3afde2c603d109
This commit is contained in:
Gabe Black 2006-05-29 00:02:44 -04:00
parent 5cc0306691
commit 4b855592eb

View file

@ -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',))
}};