summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-17 18:24:58 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-17 18:24:58 -0700
commit458521f055f54f2e79df18ddf52243ad26ed64fc (patch)
tree3d5d46cb46534e0c8a3f87ce5c3444685f5e633d
parent3633392ec4e7e3dade7501f31751aef54a471ee5 (diff)
downloadgem5-458521f055f54f2e79df18ddf52243ad26ed64fc.tar.xz
X86: Implement a multimedia andn microop.
-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 0d6c7a395..35e0f8f35 100644
--- a/src/arch/x86/isa/microops/mediaop.isa
+++ b/src/arch/x86/isa/microops/mediaop.isa
@@ -355,4 +355,11 @@ let {{
code = '''
FpDestReg.uqw = FpSrcReg1.uqw & FpSrcReg2.uqw;
'''
+
+ class Mandn(MediaOp):
+ def __init__(self, dest, src1, src2):
+ super(Mandn, self).__init__(dest, src1, src2, 1)
+ code = '''
+ FpDestReg.uqw = ~FpSrcReg1.uqw & FpSrcReg2.uqw;
+ '''
}};