Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/bios_emulator/x86emu/
H A Dprim_ops.c120 #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()
[all …]