Lines Matching refs:XOR2

120 #define XOR2(x)	    (((x) ^ ((x)>>1)) & 0x1)  macro
187 CONDITIONAL_SET_FLAG(XOR2(cc >> (bits - 2)), F_OF); in calc_carry_chain()
199 CONDITIONAL_SET_FLAG(XOR2(bc >> (bits - 2)), F_OF); in calc_borrow_chain()
786 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 6) & 0x2)), in rcl_byte()
811 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 14) & 0x2)), in rcl_word()
835 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 30) & 0x2)), in rcl_long()
918 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 6) & 0x2)), in rcr_byte()
950 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 14) & 0x2)), in rcr_word()
983 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 30) & 0x2)), in rcr_long()
1029 XOR2((res & 0x1) + ((res >> 6) & 0x2)), in rol_byte()
1054 XOR2((res & 0x1) + ((res >> 14) & 0x2)), in rol_word()
1079 XOR2((res & 0x1) + ((res >> 30) & 0x2)), in rol_long()
1126 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 6), F_OF); in ror_byte()
1149 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 14), F_OF); in ror_word()
1172 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 30), F_OF); in ror_long()
1316 CONDITIONAL_SET_FLAG(XOR2(res >> 6), F_OF); in shr_byte()
1351 CONDITIONAL_SET_FLAG(XOR2(res >> 14), F_OF); in shr_word()
1385 CONDITIONAL_SET_FLAG(XOR2(res >> 30), F_OF); in shr_long()
1604 CONDITIONAL_SET_FLAG(XOR2(res >> 14), F_OF); in shrd_word()
1638 CONDITIONAL_SET_FLAG(XOR2(res >> 30), F_OF); in shrd_long()
1671 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in sbb_byte()
1694 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in sbb_word()
1718 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in sbb_long()
1738 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in sub_byte()
1758 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in sub_word()
1778 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in sub_long()