X86: Allow logic instructions to set ECF as well as CF.
--HG-- extra : convert_revision : 6ac20f069c86c23a8d443a7127afd6015166c00d
This commit is contained in:
parent
65c247f21f
commit
efb309525a
1 changed files with 2 additions and 1 deletions
|
@ -439,10 +439,11 @@ let {{
|
|||
abstract = True
|
||||
flag_code = '''
|
||||
//Don't have genFlags handle the OF or CF bits
|
||||
uint64_t mask = CFBit | OFBit;
|
||||
uint64_t mask = CFBit | ECFBit | OFBit;
|
||||
ccFlagBits = genFlags(ccFlagBits, ext & ~mask, DestReg, psrc1, op2);
|
||||
//If a logic microop wants to set these, it wants to set them to 0.
|
||||
ccFlagBits &= ~(CFBit & ext);
|
||||
ccFlagBits &= ~(ECFBit & ext);
|
||||
ccFlagBits &= ~(OFBit & ext);
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue