projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffc40f
)
Implement the x86 nop to be a "fault" microop which returns "NoFault".
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 18 Jul 2007 23:10:44 +0000
(16:10 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 18 Jul 2007 23:10:44 +0000
(16:10 -0700)
--HG--
extra : convert_revision :
1b446def756f1d0f80631db944d1cc41be95efbd
src/arch/x86/isa/insts/no_operation.py
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/insts/no_operation.py
b/src/arch/x86/isa/insts/no_operation.py
index 1a287aea7a76ee87f1c85f4a957e9e7f734e8a64..306ee2797e899de77ad857aff14fc774d549e44b 100644
(file)
--- 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"
+};
+'''