diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:24:16 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:24:16 -0700 |
commit | ab49a34a4ef8bea1235433437e27eaf50c427336 (patch) | |
tree | bd1aec8d915ab5c6227148eb2c4e43cd1216abc5 /src/arch/x86 | |
parent | 83a78072dfd47c67ebe4e951fe400cb91a7b4873 (diff) | |
download | gem5-ab49a34a4ef8bea1235433437e27eaf50c427336.tar.xz |
X86: Implement a multimedia and microop.
Diffstat (limited to 'src/arch/x86')
-rw-r--r-- | src/arch/x86/isa/microops/mediaop.isa | 7 |
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; + ''' }}; |