Added in the IprAccessOp flag for priveleged and hyperpriveleged instructions.
authorGabe Black <gblack@eecs.umich.edu>
Mon, 29 May 2006 04:02:44 +0000 (00:02 -0400)
committerGabe Black <gblack@eecs.umich.edu>
Mon, 29 May 2006 04:02:44 +0000 (00:02 -0400)
--HG--
extra : convert_revision : a53297d595e5efd094a5978f4d3afde2c603d109

src/arch/sparc/isa/formats/priv.isa

index 56b78833ac8936dab408a72c32c6afc750397d11..28849e62182793062ac5fcc19ad3908d57ca58bd 100644 (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',))
 }};