Home
last modified time | relevance | path

Searched refs:XOR2 (Results 1 – 1 of 1) sorted by relevance

/haiku/src/libs/x86emu/
H A Dprim_ops.c125 #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()
[all …]