From 25c6b016a65de0397318e3546eda97df37485f66 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 17 Aug 2009 18:23:30 -0700 Subject: [PATCH] X86: Implement a media or 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 e2151774b..1a3b7c4e0 100644 --- a/src/arch/x86/isa/microops/mediaop.isa +++ b/src/arch/x86/isa/microops/mediaop.isa @@ -341,4 +341,11 @@ let {{ code = ''' FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw; ''' + + class Mor(MediaOp): + def __init__(self, dest, src1, src2): + super(Mor, self).__init__(dest, src1, src2, 1) + code = ''' + FpDestReg.uqw = FpSrcReg1.uqw | FpSrcReg2.uqw; + ''' }}; -- 2.30.2