Lines Matching refs:XOR2

125 #define XOR2(x) 	(((x) ^ ((x)>>1)) & 0x1)  macro
248 CONDITIONAL_SET_FLAG(XOR2(cc >> 6), F_OF); in adc_byte()
275 CONDITIONAL_SET_FLAG(XOR2(cc >> 14), F_OF); in adc_word()
309 CONDITIONAL_SET_FLAG(XOR2(cc >> 30), F_OF); in adc_long()
332 CONDITIONAL_SET_FLAG(XOR2(cc >> 6), F_OF); in add_byte()
355 CONDITIONAL_SET_FLAG(XOR2(cc >> 14), F_OF); in add_word()
383 CONDITIONAL_SET_FLAG(XOR2(cc >> 30), F_OF); in add_long()
471 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in cmp_byte()
494 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in cmp_word()
517 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in cmp_long()
585 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in dec_byte()
609 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in dec_word()
633 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in dec_long()
655 CONDITIONAL_SET_FLAG(XOR2(cc >> 6), F_OF); in inc_byte()
677 CONDITIONAL_SET_FLAG(XOR2(cc >> 14), F_OF); in inc_word()
699 CONDITIONAL_SET_FLAG(XOR2(cc >> 30), F_OF); in inc_long()
785 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in neg_byte()
812 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in neg_word()
839 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in neg_long()
941 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 6) & 0x2)), F_OF); in rcl_byte()
966 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 14) & 0x2)), F_OF); in rcl_word()
990 CONDITIONAL_SET_FLAG(cnt == 1 && XOR2(cf + ((res >> 30) & 0x2)), F_OF); in rcl_long()
1074 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 6) & 0x2)), F_OF); in rcr_byte()
1107 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 14) & 0x2)), F_OF); in rcr_word()
1141 CONDITIONAL_SET_FLAG(XOR2(ocf + ((d >> 30) & 0x2)), F_OF); in rcr_long()
1187 XOR2((res & 0x1) + ((res >> 6) & 0x2)), F_OF); in rol_byte()
1213 XOR2((res & 0x1) + ((res >> 14) & 0x2)), F_OF); in rol_word()
1239 XOR2((res & 0x1) + ((res >> 30) & 0x2)), F_OF); in rol_long()
1287 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 6), F_OF); in ror_byte()
1312 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 14), F_OF); in ror_word()
1337 CONDITIONAL_SET_FLAG(s == 1 && XOR2(res >> 30), F_OF); in ror_long()
1501 CONDITIONAL_SET_FLAG(XOR2(res >> 6), F_OF); in shr_byte()
1542 CONDITIONAL_SET_FLAG(XOR2(res >> 14), F_OF); in shr_word()
1582 CONDITIONAL_SET_FLAG(XOR2(res >> 30), F_OF); in shr_long()
1834 CONDITIONAL_SET_FLAG(XOR2(res >> 14), F_OF); in shrd_word()
1874 CONDITIONAL_SET_FLAG(XOR2(res >> 30), F_OF); in shrd_long()
1912 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in sbb_byte()
1938 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in sbb_word()
1964 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in sbb_long()
1987 CONDITIONAL_SET_FLAG(XOR2(bc >> 6), F_OF); in sub_byte()
2010 CONDITIONAL_SET_FLAG(XOR2(bc >> 14), F_OF); in sub_word()
2033 CONDITIONAL_SET_FLAG(XOR2(bc >> 30), F_OF); in sub_long()