projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3633392
)
X86: Implement a multimedia andn microop.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 18 Aug 2009 01:24:58 +0000
(18:24 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 18 Aug 2009 01:24:58 +0000
(18:24 -0700)
src/arch/x86/isa/microops/mediaop.isa
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/microops/mediaop.isa
b/src/arch/x86/isa/microops/mediaop.isa
index 0d6c7a39546f8188fdfe0283ecaa2ec8fb610a4f..35e0f8f35ef98aaa1646475d8ed57e7848b2e6d0 100644
(file)
--- a/
src/arch/x86/isa/microops/mediaop.isa
+++ b/
src/arch/x86/isa/microops/mediaop.isa
@@
-355,4
+355,11
@@
let {{
code = '''
FpDestReg.uqw = FpSrcReg1.uqw & FpSrcReg2.uqw;
'''
+
+ class Mandn(MediaOp):
+ def __init__(self, dest, src1, src2):
+ super(Mandn, self).__init__(dest, src1, src2, 1)
+ code = '''
+ FpDestReg.uqw = ~FpSrcReg1.uqw & FpSrcReg2.uqw;
+ '''
}};