diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:23:30 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:23:30 -0700 |
commit | 25c6b016a65de0397318e3546eda97df37485f66 (patch) | |
tree | 9fc1395a2bb47d19a497df6b332f1f13ce8a2444 /src | |
parent | f9346d25c8e2148a2eea06d8ce7126cc2b487527 (diff) | |
download | gem5-25c6b016a65de0397318e3546eda97df37485f66.tar.xz |
X86: Implement a media or microop.
Diffstat (limited to 'src')
-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 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; + ''' }}; |