From: Gabe Black Date: Wed, 18 Jul 2007 23:10:44 +0000 (-0700) Subject: Implement the x86 nop to be a "fault" microop which returns "NoFault". X-Git-Tag: m5_2.0_beta4~297^2~41 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3bd42af99e99f526349dda8e392009c782bd7a01;p=gem5.git Implement the x86 nop to be a "fault" microop which returns "NoFault". --HG-- extra : convert_revision : 1b446def756f1d0f80631db944d1cc41be95efbd --- diff --git a/src/arch/x86/isa/insts/no_operation.py b/src/arch/x86/isa/insts/no_operation.py index 1a287aea7..306ee2797 100644 --- a/src/arch/x86/isa/insts/no_operation.py +++ b/src/arch/x86/isa/insts/no_operation.py @@ -53,8 +53,9 @@ # # Authors: Gabe Black -microcode = "" -#let {{ -# class NOP(Inst): -# "GenFault ${new UnimpInstFault}" -#}}; +microcode = ''' +def macroop NOP +{ + fault "NoFault" +}; +'''