Lines Matching refs:dst

36 static uint32_t cc_calc_ltgt_32(int32_t src, int32_t dst)  in cc_calc_ltgt_32()  argument
38 if (src == dst) { in cc_calc_ltgt_32()
40 } else if (src < dst) { in cc_calc_ltgt_32()
47 static uint32_t cc_calc_ltgt0_32(int32_t dst) in cc_calc_ltgt0_32() argument
49 return cc_calc_ltgt_32(dst, 0); in cc_calc_ltgt0_32()
52 static uint32_t cc_calc_ltgt_64(int64_t src, int64_t dst) in cc_calc_ltgt_64() argument
54 if (src == dst) { in cc_calc_ltgt_64()
56 } else if (src < dst) { in cc_calc_ltgt_64()
63 static uint32_t cc_calc_ltgt0_64(int64_t dst) in cc_calc_ltgt0_64() argument
65 return cc_calc_ltgt_64(dst, 0); in cc_calc_ltgt0_64()
68 static uint32_t cc_calc_ltugtu_32(uint32_t src, uint32_t dst) in cc_calc_ltugtu_32() argument
70 if (src == dst) { in cc_calc_ltugtu_32()
72 } else if (src < dst) { in cc_calc_ltugtu_32()
79 static uint32_t cc_calc_ltugtu_64(uint64_t src, uint64_t dst) in cc_calc_ltugtu_64() argument
81 if (src == dst) { in cc_calc_ltugtu_64()
83 } else if (src < dst) { in cc_calc_ltugtu_64()
121 static uint32_t cc_calc_nz(uint64_t dst) in cc_calc_nz() argument
123 return !!dst; in cc_calc_nz()
167 static uint32_t cc_calc_abs_64(int64_t dst) in cc_calc_abs_64() argument
169 if ((uint64_t)dst == 0x8000000000000000ULL) { in cc_calc_abs_64()
171 } else if (dst) { in cc_calc_abs_64()
178 static uint32_t cc_calc_nabs_64(int64_t dst) in cc_calc_nabs_64() argument
180 return !!dst; in cc_calc_nabs_64()
183 static uint32_t cc_calc_comp_64(int64_t dst) in cc_calc_comp_64() argument
185 if ((uint64_t)dst == 0x8000000000000000ULL) { in cc_calc_comp_64()
187 } else if (dst < 0) { in cc_calc_comp_64()
189 } else if (dst > 0) { in cc_calc_comp_64()
227 static uint32_t cc_calc_abs_32(int32_t dst) in cc_calc_abs_32() argument
229 if ((uint32_t)dst == 0x80000000UL) { in cc_calc_abs_32()
231 } else if (dst) { in cc_calc_abs_32()
238 static uint32_t cc_calc_nabs_32(int32_t dst) in cc_calc_nabs_32() argument
240 return !!dst; in cc_calc_nabs_32()
243 static uint32_t cc_calc_comp_32(int32_t dst) in cc_calc_comp_32() argument
245 if ((uint32_t)dst == 0x80000000UL) { in cc_calc_comp_32()
247 } else if (dst < 0) { in cc_calc_comp_32()
249 } else if (dst > 0) { in cc_calc_comp_32()
298 static uint32_t cc_calc_flogr(uint64_t dst) in cc_calc_flogr() argument
300 return dst ? 2 : 0; in cc_calc_flogr()
303 static uint32_t cc_calc_lcbb(uint64_t dst) in cc_calc_lcbb() argument
305 return dst == 16 ? 0 : 3; in cc_calc_lcbb()
349 uint64_t src, uint64_t dst, uint64_t vr) in do_calc_cc() argument
362 r = cc_calc_ltgt0_32(dst); in do_calc_cc()
365 r = cc_calc_ltgt0_64(dst); in do_calc_cc()
368 r = cc_calc_ltgt_32(src, dst); in do_calc_cc()
371 r = cc_calc_ltgt_64(src, dst); in do_calc_cc()
374 r = cc_calc_ltugtu_32(src, dst); in do_calc_cc()
377 r = cc_calc_ltugtu_64(src, dst); in do_calc_cc()
380 r = cc_calc_tm_32(src, dst); in do_calc_cc()
383 r = cc_calc_tm_64(src, dst); in do_calc_cc()
386 r = cc_calc_nz(dst); in do_calc_cc()
389 r = cc_calc_addu(src, dst); in do_calc_cc()
392 r = cc_calc_subu(src, dst); in do_calc_cc()
395 r = cc_calc_add_64(src, dst, vr); in do_calc_cc()
398 r = cc_calc_sub_64(src, dst, vr); in do_calc_cc()
401 r = cc_calc_abs_64(dst); in do_calc_cc()
404 r = cc_calc_nabs_64(dst); in do_calc_cc()
407 r = cc_calc_comp_64(dst); in do_calc_cc()
410 r = cc_calc_muls_64(src, dst); in do_calc_cc()
414 r = cc_calc_add_32(src, dst, vr); in do_calc_cc()
417 r = cc_calc_sub_32(src, dst, vr); in do_calc_cc()
420 r = cc_calc_abs_32(dst); in do_calc_cc()
423 r = cc_calc_nabs_32(dst); in do_calc_cc()
426 r = cc_calc_comp_32(dst); in do_calc_cc()
429 r = cc_calc_muls_32(dst); in do_calc_cc()
433 r = cc_calc_icm(src, dst); in do_calc_cc()
436 r = cc_calc_sla(src, dst); in do_calc_cc()
439 r = cc_calc_flogr(dst); in do_calc_cc()
442 r = cc_calc_lcbb(dst); in do_calc_cc()
445 r = cc_calc_vc(src, dst); in do_calc_cc()
449 r = set_cc_nz_f32(dst); in do_calc_cc()
452 r = set_cc_nz_f64(dst); in do_calc_cc()
455 r = set_cc_nz_f128(make_float128(src, dst)); in do_calc_cc()
463 cc_name(cc_op), src, dst, vr, r); in do_calc_cc()
467 uint32_t calc_cc(CPUS390XState *env, uint32_t cc_op, uint64_t src, uint64_t dst, in calc_cc() argument
470 return do_calc_cc(env, cc_op, src, dst, vr); in calc_cc()
474 uint64_t dst, uint64_t vr) in HELPER()
476 return do_calc_cc(env, cc_op, src, dst, vr); in HELPER()