Home | History | Annotate | Download | only in priv

Lines Matching defs:cf

195    { ULong cf, pf, af, zf, sf, of;				\
200 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
207 return cf | pf | af | zf | sf | of; \
216 { ULong cf, pf, af, zf, sf, of; \
221 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
228 return cf | pf | af | zf | sf | of; \
237 { ULong cf, pf, af, zf, sf, of; \
244 cf = (DATA_UTYPE)res <= (DATA_UTYPE)argL; \
246 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
253 return cf | pf | af | zf | sf | of; \
262 { ULong cf, pf, af, zf, sf, of; \
269 cf = (DATA_UTYPE)argL <= (DATA_UTYPE)argR; \
271 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
278 return cf | pf | af | zf | sf | of; \
287 { ULong cf, pf, af, zf, sf, of; \
288 cf = 0; \
294 return cf | pf | af | zf | sf | of; \
303 { ULong cf, pf, af, zf, sf, of; \
308 cf = CC_NDEP & AMD64G_CC_MASK_C; \
314 return cf | pf | af | zf | sf | of; \
323 { ULong cf, pf, af, zf, sf, of; \
328 cf = CC_NDEP & AMD64G_CC_MASK_C; \
335 return cf | pf | af | zf | sf | of; \
344 { ULong cf, pf, af, zf, sf, of; \
345 cf = (CC_DEP2 >> (DATA_BITS - 1)) & AMD64G_CC_MASK_C; \
353 return cf | pf | af | zf | sf | of; \
362 { ULong cf, pf, af, zf, sf, of; \
363 cf = CC_DEP2 & 1; \
371 return cf | pf | af | zf | sf | of; \
377 /* ROL: cf' = lsb(result). of' = msb(result) ^ lsb(result). */
394 /* ROR: cf' = msb(result). of' = msb(result) ^ msb-1(result). */
415 { ULong cf, pf, af, zf, sf, of; \
425 cf = (hi != 0); \
430 of = cf << 11; \
431 return cf | pf | af | zf | sf | of; \
441 { ULong cf, pf, af, zf, sf, of; \
451 cf = (hi != (lo >>/*s*/ (DATA_BITS-1))); \
456 of = cf << 11; \
457 return cf | pf | af | zf | sf | of; \
466 { ULong cf, pf, af, zf, sf, of; \
469 cf = (hi != 0); \
474 of = cf << 11; \
475 return cf | pf | af | zf | sf | of; \
484 { ULong cf, pf, af, zf, sf, of; \
487 cf = (hi != (lo >>/*s*/ (64-1))); \
492 of = cf << 11; \
493 return cf | pf | af | zf | sf | of; \
502 { ULong cf, pf, af, zf, sf, of; \
503 cf = 0; \
509 return cf | pf | af | zf | sf | of; \
518 { ULong cf, pf, af, zf, sf, of; \
519 cf = ((DATA_UTYPE)CC_DEP2 != 0); \
525 return cf | pf | af | zf | sf | of; \
534 { Long cf, pf, af, zf, sf, of; \
535 cf = ((DATA_UTYPE)CC_DEP2 == 0); \
541 return cf | pf | af | zf | sf | of; \
550 { ULong cf, pf, af, zf, sf, of; \
551 cf = ((DATA_UTYPE)CC_DEP2 == 0); \
557 return cf | pf | af | zf | sf | of; \
824 ULong of,sf,zf,cf,pf;
846 case AMD64CondB: /* CF == 1 */
847 cf = rflags >> AMD64G_CC_SHIFT_C;
848 return 1 & (inv ^ cf);
852 case AMD64CondBE: /* (CF or ZF) == 1 */
853 cf = rflags >> AMD64G_CC_SHIFT_C;
855 return 1 & (inv ^ (cf | zf));
3222 ULong cf=0, of=0, tempcf;
3226 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3227 of = ((arg >> 63) ^ cf) & 1;
3230 arg = (arg >> 1) | (cf << 63);
3231 cf = tempcf;
3237 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3238 of = ((arg >> 31) ^ cf) & 1;
3241 arg = ((arg >> 1) & 0x7FFFFFFFULL) | (cf << 31);
3242 cf = tempcf;
3248 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3249 of = ((arg >> 15) ^ cf) & 1;
3252 arg = ((arg >> 1) & 0x7FFFULL) | (cf << 15);
3253 cf = tempcf;
3259 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3260 of = ((arg >> 7) ^ cf) & 1;
3263 arg = ((arg >> 1) & 0x7FULL) | (cf << 7);
3264 cf = tempcf;
3272 cf &= 1;
3275 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);
3290 ULong cf=0, of=0, tempcf;
3294 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3297 arg = (arg << 1) | (cf & 1);
3298 cf = tempcf;
3301 of = ((arg >> 63) ^ cf) & 1;
3305 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3308 arg = 0xFFFFFFFFULL & ((arg << 1) | (cf & 1));
3309 cf = tempcf;
3312 of = ((arg >> 31) ^ cf) & 1;
3316 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3319 arg = 0xFFFFULL & ((arg << 1) | (cf & 1));
3320 cf = tempcf;
3323 of = ((arg >> 15) ^ cf) & 1;
3327 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
3330 arg = 0xFFULL & ((arg << 1) | (cf & 1));
3331 cf = tempcf;
3334 of = ((arg >> 7) ^ cf) & 1;
3340 cf &= 1;
3343 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);