summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:23:30 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:23:30 -0700
commit25c6b016a65de0397318e3546eda97df37485f66 (patch)
tree9fc1395a2bb47d19a497df6b332f1f13ce8a2444 /src
parentf9346d25c8e2148a2eea06d8ce7126cc2b487527 (diff)
downloadgem5-25c6b016a65de0397318e3546eda97df37485f66.tar.xz
X86: Implement a media or microop.
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;
+ '''
}};