projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fb444
)
X86: Implement a media xor microop.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 18 Aug 2009 01:22:33 +0000
(18:22 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 18 Aug 2009 01:22:33 +0000
(18:22 -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 7e03fcba349014d74687660941fff4950338c14c..e2151774b8eeb59069b0ede23450ff344f112065 100644
(file)
--- a/
src/arch/x86/isa/microops/mediaop.isa
+++ b/
src/arch/x86/isa/microops/mediaop.isa
@@
-334,4
+334,11
@@
let {{
}
FpDestReg.uqw = result;
'''
+
+ class Mxor(MediaOp):
+ def __init__(self, dest, src1, src2):
+ super(Mxor, self).__init__(dest, src1, src2, 1)
+ code = '''
+ FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw;
+ '''
}};