From ab49a34a4ef8bea1235433437e27eaf50c427336 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 17 Aug 2009 18:24:16 -0700 Subject: X86: Implement a multimedia and microop. --- src/arch/x86/isa/microops/mediaop.isa | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/arch/x86/isa') diff --git a/src/arch/x86/isa/microops/mediaop.isa b/src/arch/x86/isa/microops/mediaop.isa index 1a3b7c4e0..0d6c7a395 100644 --- a/src/arch/x86/isa/microops/mediaop.isa +++ b/src/arch/x86/isa/microops/mediaop.isa @@ -348,4 +348,11 @@ let {{ code = ''' FpDestReg.uqw = FpSrcReg1.uqw | FpSrcReg2.uqw; ''' + + class Mand(MediaOp): + def __init__(self, dest, src1, src2): + super(Mand, self).__init__(dest, src1, src2, 1) + code = ''' + FpDestReg.uqw = FpSrcReg1.uqw & FpSrcReg2.uqw; + ''' }}; -- cgit v1.2.3