From 458521f055f54f2e79df18ddf52243ad26ed64fc Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 17 Aug 2009 18:24:58 -0700 Subject: [PATCH] X86: Implement a multimedia andn microop. --- src/arch/x86/isa/microops/mediaop.isa | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/arch/x86/isa/microops/mediaop.isa b/src/arch/x86/isa/microops/mediaop.isa index 0d6c7a395..35e0f8f35 100644 --- 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; + ''' }}; -- 2.30.2