Home | History | Annotate | Download | only in priv

Lines Matching refs:cf

193    { Long cf, pf, af, zf, sf, of;				\
198 cf = (DATA_UTYPE)res < (DATA_UTYPE)argL; \
205 return cf | pf | af | zf | sf | of; \
214 { Long cf, pf, af, zf, sf, of; \
219 cf = (DATA_UTYPE)argL < (DATA_UTYPE)argR; \
226 return cf | pf | af | zf | sf | of; \
235 { Long 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 { Long 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 { Long cf, pf, af, zf, sf, of; \
286 cf = 0; \
292 return cf | pf | af | zf | sf | of; \
301 { Long cf, pf, af, zf, sf, of; \
306 cf = CC_NDEP & AMD64G_CC_MASK_C; \
312 return cf | pf | af | zf | sf | of; \
321 { Long cf, pf, af, zf, sf, of; \
326 cf = CC_NDEP & AMD64G_CC_MASK_C; \
333 return cf | pf | af | zf | sf | of; \
342 { Long 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 { Long 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 { Long cf, pf, af, zf, sf, of; \
423 cf = (hi != 0); \
428 of = cf << 11; \
429 return cf | pf | af | zf | sf | of; \
439 { Long 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 { Long cf, pf, af, zf, sf, of; \
467 cf = (hi != 0); \
472 of = cf << 11; \
473 return cf | pf | af | zf | sf | of; \
482 { Long 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 { Long cf, pf, af, zf, sf, of; \
501 cf = 0; \
507 return cf | pf | af | zf | sf | of; \
516 { Long 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 { Long 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));
2742 ULong cf=0, of=0, tempcf;
2746 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2747 cf) & 1;
2750 arg = (arg >> 1) | (cf << 63);
2751 cf = tempcf;
2757 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2758 of = ((arg >> 31) ^ cf) & 1;
2761 arg = ((arg >> 1) & 0x7FFFFFFFULL) | (cf << 31);
2762 cf = tempcf;
2768 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2769 of = ((arg >> 15) ^ cf) & 1;
2772 arg = ((arg >> 1) & 0x7FFFULL) | (cf << 15);
2773 cf = tempcf;
2779 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2780 of = ((arg >> 7) ^ cf) & 1;
2783 arg = ((arg >> 1) & 0x7FULL) | (cf << 7);
2784 cf = tempcf;
2792 cf &= 1;
2795 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);
2810 ULong cf=0, of=0, tempcf;
2814 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2817 arg = (arg << 1) | (cf & 1);
2818 cf = tempcf;
2821 of = ((arg >> 63) ^ cf) & 1;
2825 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2828 arg = 0xFFFFFFFFULL & ((arg << 1) | (cf & 1));
2829 cf = tempcf;
2832 of = ((arg >> 31) ^ cf) & 1;
2836 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2839 arg = 0xFFFFULL & ((arg << 1) | (cf & 1));
2840 cf = tempcf;
2843 of = ((arg >> 15) ^ cf) & 1;
2847 cf = (rflags_in >> AMD64G_CC_SHIFT_C) & 1;
2850 arg = 0xFFULL & ((arg << 1) | (cf & 1));
2851 cf = tempcf;
2854 of = ((arg >> 7) ^ cf) & 1;
2860 cf &= 1;
2863 rflags_in |= (cf << AMD64G_CC_SHIFT_C) | (of << AMD64G_CC_SHIFT_O);