summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:24:16 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:24:16 -0700
commitab49a34a4ef8bea1235433437e27eaf50c427336 (patch)
treebd1aec8d915ab5c6227148eb2c4e43cd1216abc5 /src/arch/x86
parent83a78072dfd47c67ebe4e951fe400cb91a7b4873 (diff)
downloadgem5-ab49a34a4ef8bea1235433437e27eaf50c427336.tar.xz
X86: Implement a multimedia and microop.
Diffstat (limited to 'src/arch/x86')
-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 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;
+ '''
}};