diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:22:33 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2009-08-17 18:22:33 -0700 |
commit | 982b3ad1f01e4d8da81f3ec28045c787a1cc3fba (patch) | |
tree | 5f083e93e35d7453edab5b406ccb6090b994ba60 | |
parent | f3fb444af4d4fc5ea3376278bc0c0c4bc0129e5e (diff) | |
download | gem5-982b3ad1f01e4d8da81f3ec28045c787a1cc3fba.tar.xz |
X86: Implement a media xor microop.
-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 7e03fcba3..e2151774b 100644 --- a/src/arch/x86/isa/microops/mediaop.isa +++ b/src/arch/x86/isa/microops/mediaop.isa @@ -334,4 +334,11 @@ let {{ } FpDestReg.uqw = result; ''' + + class Mxor(MediaOp): + def __init__(self, dest, src1, src2): + super(Mxor, self).__init__(dest, src1, src2, 1) + code = ''' + FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw; + ''' }}; |