From: Gabe Black Date: Tue, 18 Aug 2009 01:22:33 +0000 (-0700) Subject: X86: Implement a media xor microop. X-Git-Tag: Calvin_Submission~119 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=982b3ad1f01e4d8da81f3ec28045c787a1cc3fba;p=gem5.git X86: Implement a media xor microop. --- 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; + ''' }};