Lines Matching defs:cf
151 { UInt cf, pf, af, zf, sf, of; \
156 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
163 return cf | pf | af | zf | sf | of; \
172 { UInt cf, pf, af, zf, sf, of; \
177 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
184 return cf | pf | af | zf | sf | of; \
193 { UInt cf, pf, af, zf, sf, of; \
200 cf = (DATA_UTYPE)res <= (DATA_UTYPE)argL; \
202 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
209 return cf | pf | af | zf | sf | of; \
218 { UInt cf, pf, af, zf, sf, of; \
225 cf = (DATA_UTYPE)argL <= (DATA_UTYPE)argR; \
227 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
234 return cf | pf | af | zf | sf | of; \
243 { UInt cf, pf, af, zf, sf, of; \
244 cf = 0; \
250 return cf | pf | af | zf | sf | of; \
259 { UInt cf, pf, af, zf, sf, of; \
264 cf = CC_NDEP & X86G_CC_MASK_C; \
270 return cf | pf | af | zf | sf | of; \
279 { UInt cf, pf, af, zf, sf, of; \
284 cf = CC_NDEP & X86G_CC_MASK_C; \
291 return cf | pf | af | zf | sf | of; \
300 { UInt cf, pf, af, zf, sf, of; \
301 cf = (CC_DEP2 >> (DATA_BITS - 1)) & X86G_CC_MASK_C; \
309 return cf | pf | af | zf | sf | of; \
318 { UInt cf, pf, af, zf, sf, of; \
319 cf = CC_DEP2 & 1; \
327 return cf | pf | af | zf | sf | of; \
333 /* ROL: cf' = lsb(result). of' = msb(result) ^ lsb(result). */
350 /* ROR: cf' = msb(result). of' = msb(result) ^ msb-1(result). */
371 { UInt cf, pf, af, zf, sf, of; \
381 cf = (hi != 0); \
386 of = cf << 11; \
387 return cf | pf | af | zf | sf | of; \
397 { UInt cf, pf, af, zf, sf, of; \
407 cf = (hi != (lo >>/*s*/ (DATA_BITS-1))); \
412 of = cf << 11; \
413 return cf | pf | af | zf | sf | of; \
647 UInt of,sf,zf,cf,pf;
669 case X86CondB: /* CF == 1 */
670 cf = eflags >> X86G_CC_SHIFT_C;
671 return 1 & (inv ^ cf);
675 case X86CondBE: /* (CF or ZF) == 1 */
676 cf = eflags >> X86G_CC_SHIFT_C;
678 return 1 & (inv ^ (cf | zf));
1042 LOGIC sets ZF according to the result and makes CF be zero.
1043 BE computes (CF | ZF), but CF is zero, so this reduces ZF
1969 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf;
1973 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
1974 of = ((arg >> 31) ^ cf) & 1;
1977 arg = (arg >> 1) | (cf << 31);
1978 cf = tempcf;
1984 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
1985 of = ((arg >> 15) ^ cf) & 1;
1988 arg = ((arg >> 1) & 0x7FFF) | (cf << 15);
1989 cf = tempcf;
1995 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
1996 of = ((arg >> 7) ^ cf) & 1;
1999 arg = ((arg >> 1) & 0x7F) | (cf << 7);
2000 cf = tempcf;
2008 cf &= 1;
2011 eflags_in |= (cf << X86G_CC_SHIFT_C) | (of << X86G_CC_SHIFT_O);
2024 UInt tempCOUNT = rot_amt & 0x1F, cf=0, of=0, tempcf;
2028 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
2031 arg = (arg << 1) | (cf & 1);
2032 cf = tempcf;
2035 of = ((arg >> 31) ^ cf) & 1;
2039 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
2042 arg = 0xFFFF & ((arg << 1) | (cf & 1));
2043 cf = tempcf;
2046 of = ((arg >> 15) ^ cf) & 1;
2050 cf = (eflags_in >> X86G_CC_SHIFT_C) & 1;
2053 arg = 0xFF & ((arg << 1) | (cf & 1));
2054 cf = tempcf;
2057 of = ((arg >> 7) ^ cf) & 1;
2063 cf &= 1;
2066 eflags_in |= (cf << X86G_CC_SHIFT_C) | (of << X86G_CC_SHIFT_O);