Lines Matching defs:cf
193 { ULong cf, pf, af, zf, sf, of; \
198 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
205 return cf | pf | af | zf | sf | of; \
214 { ULong cf, pf, af, zf, sf, of; \
219 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
226 return cf | pf | af | zf | sf | of; \
235 { ULong cf, pf, af, zf, sf, of; \
242 cf = (DATA_UTYPE)res <= (DATA_UTYPE)argL; \
244 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
251 return cf | pf | af | zf | sf | of; \
260 { ULong cf, pf, af, zf, sf, of; \
267 cf = (DATA_UTYPE)argL <= (DATA_UTYPE)argR; \
269 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
276 return cf | pf | af | zf | sf | of; \
285 { ULong cf, pf, af, zf, sf, of; \
286 cf = 0; \
292 return cf | pf | af | zf | sf | of; \
301 { ULong cf, pf, af, zf, sf, of; \
306 cf = CC_NDEP & AMD64G_CC_MASK_C; \
312 return cf | pf | af | zf | sf | of; \
321 { ULong cf, pf, af, zf, sf, of; \
326 cf = CC_NDEP & AMD64G_CC_MASK_C; \
333 return cf | pf | af | zf | sf | of; \
342 { ULong cf, pf, af, zf, sf, of; \
343 cf = (CC_DEP2 >> (DATA_BITS - 1)) & AMD64G_CC_MASK_C; \
351 return cf | pf | af | zf | sf | of; \
360 { ULong cf, pf, af, zf, sf, of; \
361 cf = CC_DEP2 & 1; \
369 return cf | pf | af | zf | sf | of; \
375 /* ROL: cf' = lsb(result). of' = msb(result) ^ lsb(result). */
392 /* ROR: cf' = msb(result). of' = msb(result) ^ msb-1(result). */
413 { ULong cf, pf, af, zf, sf, of; \
423 cf = (hi != 0); \
428 of = cf << 11; \
429 return cf | pf | af | zf | sf | of; \
439 { ULong cf, pf, af, zf, sf, of; \
449 cf = (hi != (lo >>/*s*/ (DATA_BITS-1))); \
454 of = cf << 11; \
455 return cf | pf | af | zf | sf | of; \
464 { ULong cf, pf, af, zf, sf, of; \
467 cf = (hi != 0); \
472 of = cf << 11; \
473 return cf | pf | af | zf | sf | of; \
482 { ULong cf, pf, af, zf, sf, of; \
485 cf = (hi != (lo >>/*s*/ (64-1))); \
490 of = cf << 11; \
491 return cf | pf | af | zf | sf | of; \
500 { ULong cf, pf, af, zf, sf, of; \
501 cf = 0; \
507 return cf | pf | af | zf | sf | of; \
516 { ULong cf, pf, af, zf, sf, of; \
517 cf = ((DATA_UTYPE)CC_DEP2 != 0); \
523 return cf | pf | af | zf | sf | of; \
532 { Long cf, pf, af, zf, sf, of; \
533 cf = ((DATA_UTYPE)CC_DEP2 == 0); \
539 return cf | pf | af | zf | sf | of; \
548 { ULong cf, pf, af, zf, sf, of; \
549 cf = ((DATA_UTYPE)CC_DEP2 == 0); \
555 return cf | pf | af | zf | sf | of; \
822 ULong of,sf,zf,cf,pf;
844 case AMD64CondB: /* CF == 1 */
845 cf = rflags >> AMD64G_CC_SHIFT_C;
846 return 1 & (inv ^ cf);
850 case AMD64CondBE: /* (CF or ZF) == 1 */
851 cf = rflags >> AMD64G_CC_SHIFT_C;
853 return 1 & (inv ^ (cf | zf));
2880 ULong cf=0, of=0, tempcf;
2884 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2885 of = ((arg >> 63) ^ cf) & 1;
2888 arg = (arg >> 1) | (cf << 63);
2889 cf = tempcf;
2895 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2896 of = ((arg >> 31) ^ cf) & 1;
2899 arg = ((arg >> 1) & 0x7FFFFFFFULL) | (cf << 31);
2900 cf = tempcf;
2906 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2907 of = ((arg >> 15) ^ cf) & 1;
2910 arg = ((arg >> 1) & 0x7FFFULL) | (cf << 15);
2911 cf = tempcf;
2917 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2918 of = ((arg >> 7) ^ cf) & 1;
2921 arg = ((arg >> 1) & 0x7FULL) | (cf << 7);
2922 cf = tempcf;
2930 cf &= 1;
2933 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);
2948 ULong cf=0, of=0, tempcf;
2952 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2955 arg = (arg << 1) | (cf & 1);
2956 cf = tempcf;
2959 of = ((arg >> 63) ^ cf) & 1;
2963 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2966 arg = 0xFFFFFFFFULL & ((arg << 1) | (cf & 1));
2967 cf = tempcf;
2970 of = ((arg >> 31) ^ cf) & 1;
2974 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2977 arg = 0xFFFFULL & ((arg << 1) | (cf & 1));
2978 cf = tempcf;
2981 of = ((arg >> 15) ^ cf) & 1;
2985 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2988 arg = 0xFFULL & ((arg << 1) | (cf & 1));
2989 cf = tempcf;
2992 of = ((arg >> 7) ^ cf) & 1;
2998 cf &= 1;
3001 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);