Home
last modified time | relevance | path

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

/external/u-boot/drivers/bios_emulator/x86emu/
Dprim_ops.c134 CONDITIONAL_SET_FLAG(PARITY(res & 0xFF), F_PF); in set_parity_flag()
139 CONDITIONAL_SET_FLAG(res & 0x80, F_SF); in set_szp_flags_8()
140 CONDITIONAL_SET_FLAG(res == 0, F_ZF); in set_szp_flags_8()
146 CONDITIONAL_SET_FLAG(res & 0x8000, F_SF); in set_szp_flags_16()
147 CONDITIONAL_SET_FLAG(res == 0, F_ZF); in set_szp_flags_16()
153 CONDITIONAL_SET_FLAG(res & 0x80000000, F_SF); in set_szp_flags_32()
154 CONDITIONAL_SET_FLAG(res == 0, F_ZF); in set_szp_flags_32()
187 CONDITIONAL_SET_FLAG(XOR2(cc >> (bits - 2)), F_OF); in calc_carry_chain()
188 CONDITIONAL_SET_FLAG(cc & 0x8, F_AF); in calc_carry_chain()
190 CONDITIONAL_SET_FLAG(res & (1 << bits), F_CF); in calc_carry_chain()
[all …]
Dops2.c312 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
323 CONDITIONAL_SET_FLAG(srcval & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
334 CONDITIONAL_SET_FLAG(*srcreg & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
343 CONDITIONAL_SET_FLAG(*srcreg & (0x1 << bit),F_CF); in x86emuOp2_bt_R()
537 CONDITIONAL_SET_FLAG(srcval & mask,F_CF); in x86emuOp2_bts_R()
550 CONDITIONAL_SET_FLAG(srcval & mask,F_CF); in x86emuOp2_bts_R()
564 CONDITIONAL_SET_FLAG(*srcreg & mask,F_CF); in x86emuOp2_bts_R()
576 CONDITIONAL_SET_FLAG(*srcreg & mask,F_CF); in x86emuOp2_bts_R()
863 CONDITIONAL_SET_FLAG(srcval & mask,F_CF); in x86emuOp2_btr_R()
875 CONDITIONAL_SET_FLAG(srcval & mask,F_CF); in x86emuOp2_btr_R()
[all …]
/external/u-boot/drivers/bios_emulator/
Dbios.c183 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
214 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
234 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
254 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
274 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
293 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
312 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
331 CONDITIONAL_SET_FLAG((M.x86.R_AH != SUCCESSFUL), F_CF);
/external/u-boot/drivers/bios_emulator/include/x86emu/
Dregs.h216 #define CONDITIONAL_SET_FLAG(COND,FLAG) \ macro