Searched refs:clz64 (Results 1 – 25 of 33) sorted by relevance
12
189 static inline int clz64(uint64_t val) in clz64() function202 return clz64(~val); in clo64()303 return clz64(val ^ ((int64_t)val >> 1)) - 1; in clrsb64()704 # define clzl clz64732 return 0x8000000000000000ull >> clz64(value); in pow2floor()741 int n = clz64(value - 1); in pow2ceil()
228 return 63 - clz64(range->upb); in range_get_last_bit()
59 #define DO_CLO_D(N) (clz64(~N))63 #define DO_CLZ_D(N) (clz64(N))
43 return (c0 ? clz64(c0) : clz64(c1) + 64) >> 3; in match_index()296 a0 &= ~(-1ull >> clz64(z)); in vistr()302 a1 &= ~(-1ull >> clz64(z)); in vistr()
112 int top = clz64(mask); in cc_calc_tm_64()262 int top = clz64(mask); in cc_calc_icm()
66 s->offset_fmt_width = DIV_ROUND_UP(64 - clz64(s->size - 1), 4); in unimp_realize()
244 clz1 = clz64(rem); in ptimer_get_count()245 clz2 = clz64(div); in ptimer_get_count()
134 uint64_t alignment = (1ULL << (63 - clz64(size + size - 1))); in platform_bus_map_mmio()
356 last_bit = 64 - clz64(bitmap_copy); in parse_numa_hmat_lb()
123 return arg ? clz64(arg) : zero_val; in HELPER()
43 int s = clz64(v.hi); in divrem128()
107 sh = clz64(divisor); in divu128()
1558 shift = clz64(ysig1) + 64; in helper_fpatan()1564 shift = clz64(ysig0); in helper_fpatan()1572 shift = clz64(ysig1) + 64; in helper_fpatan()1574 shift = clz64(ysig0); in helper_fpatan()1593 shift = clz64(ysig1) + 64; in helper_fpatan()1595 shift = clz64(ysig0); in helper_fpatan()1817 int shift = clz64(temp.l.lower); in helper_fxtract()1852 exp0 = 1 - clz64(temp0.l.lower); in helper_fprem_common()1855 exp1 = 1 - clz64(temp1.l.lower); in helper_fprem_common()
406 # define clztl clz64
1147 int shift = clz64(a->frac); in frac64_normalize()1157 int shl = clz64(a->frac_hi); in frac128_normalize()1162 int shl = clz64(a->frac_lo); in frac128_normalize()1177 shl = clz64(a0); in frac256_normalize()1197 shl = clz64(a0); in frac256_normalize()1286 shift = clz64(a0); in frac64_modrem()1289 shift = clz64(a1); in frac64_modrem()1375 shift = clz64(a0); in frac128_modrem()1378 shift = clz64(a1); in frac128_modrem()1383 shift = clz64(a2); in frac128_modrem()[all …]
1288 shift = clz64(f);1310 int shift = clz64(a);
344 return (1ULL << (63 - clz64(addr_mask + 1))) - 1; in dma_aligned_pow2_mask()
255 pagesize = pgmask ? (1ULL << (63 - clz64(pgmask))) : 0; in vfio_spapr_create_window()
270 ns->zone_size_log2 = 63 - clz64(ns->zone_size); in nvme_ns_zoned_init_state()
2081 int requested_pa_size = 64 - clz64(vms->highest_gpa); in virt_cpu_post_init()3024 requested_pa_size = 64 - clz64(vms->highest_gpa); in virt_kvm_type()3058 int requested_ipa_size = 64 - clz64(vms->highest_gpa); in virt_hvf_get_physical_address_range()
332 mask64_operand(uval << clz64(uval), &mb, &me)) {1197 int mb = clz64(tmp + 1) + 1;1212 shift = clz64(arg);1423 *me = clz64(lsb);1428 *mb = clz64(c + 1) + 1;1771 int sh = clz64(arg2);
728 return 63 - clz64(size / KiB); in booke206_page_size_to_tlb()
1167 lsb = clz64(~val) - 1;1169 msb = clz64(val);2827 lsb = clz64(~val) - 1;2829 msb = clz64(val);
92 int rep = clz64(zmask); in smask_from_zmask()517 return x ? clz64(x) : y; in do_constant_folding_2()
793 regs[r0] = regs[r1] ? clz64(regs[r1]) : regs[r2]; in tcg_qemu_tb_exec()