summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:22:33 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:22:33 -0700
commit982b3ad1f01e4d8da81f3ec28045c787a1cc3fba (patch)
tree5f083e93e35d7453edab5b406ccb6090b994ba60 /src/arch/x86
parentf3fb444af4d4fc5ea3376278bc0c0c4bc0129e5e (diff)
downloadgem5-982b3ad1f01e4d8da81f3ec28045c787a1cc3fba.tar.xz
X86: Implement a media xor microop.
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/isa/microops/mediaop.isa7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/x86/isa/microops/mediaop.isa b/src/arch/x86/isa/microops/mediaop.isa
index 7e03fcba3..e2151774b 100644
--- 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;
+ '''
}};