diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-07-18 16:10:44 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-07-18 16:10:44 -0700 |
commit | 3bd42af99e99f526349dda8e392009c782bd7a01 (patch) | |
tree | 8b46ed7d6aed67228f7e50259fe748fcb1882be4 /src | |
parent | dffc40ff62e6901084efdef6806343ddb8404208 (diff) | |
download | gem5-3bd42af99e99f526349dda8e392009c782bd7a01.tar.xz |
Implement the x86 nop to be a "fault" microop which returns "NoFault".
--HG--
extra : convert_revision : 1b446def756f1d0f80631db944d1cc41be95efbd
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x86/isa/insts/no_operation.py | 11 |
1 files changed, 6 insertions, 5 deletions
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" +}; +''' |