X86: Implement a media xor microop.

This commit is contained in:
Gabe Black 2009-08-17 18:22:33 -07:00
parent f3fb444af4
commit 982b3ad1f0

View file

@ -334,4 +334,11 @@ let {{
} }
FpDestReg.uqw = result; 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;
'''
}}; }};