summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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;
+ '''
}};