summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-18 16:10:44 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-18 16:10:44 -0700
commit3bd42af99e99f526349dda8e392009c782bd7a01 (patch)
tree8b46ed7d6aed67228f7e50259fe748fcb1882be4 /src/arch/x86/isa
parentdffc40ff62e6901084efdef6806343ddb8404208 (diff)
downloadgem5-3bd42af99e99f526349dda8e392009c782bd7a01.tar.xz
Implement the x86 nop to be a "fault" microop which returns "NoFault".
--HG-- extra : convert_revision : 1b446def756f1d0f80631db944d1cc41be95efbd
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r--src/arch/x86/isa/insts/no_operation.py11
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"
+};
+'''