Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 86) sorted by relevance

1234

/qemu/util/
A Dint128.c43 int s = clz64(v.hi); in divrem128()
47 hi = u.hi; in divrem128()
55 if (hi > u.hi) { in divrem128()
57 tmp = u.hi; in divrem128()
62 tmp = u.hi - hi; in divrem128()
69 tmp = lo * v.hi; in divrem128()
71 hi += tmp; in divrem128()
74 || hi > u.hi /* quotient * divisor > dividend */ in divrem128()
75 || (hi == u.hi && lo > u.lo)) { in divrem128()
78 hi += qq.lo * v.hi; in divrem128()
[all …]
/qemu/include/qemu/
A Dint128.h240 int64_t hi; member
244 int64_t hi;
260 return (Int128) { .lo = lo, .hi = hi }; in int128_make128()
276 return a.hi; in int128_gethi()
306 return int128_make128(a.lo & b.lo, a.hi & b.hi); in int128_and()
311 return int128_make128(a.lo | b.lo, a.hi | b.hi); in int128_or()
316 return int128_make128(a.lo ^ b.lo, a.hi ^ b.hi); in int128_xor()
389 return a.lo == b.lo && a.hi == b.hi; in int128_eq()
399 return a.hi > b.hi || (a.hi == b.hi && a.lo >= b.lo); in int128_ge()
404 return (uint64_t)a.hi > (uint64_t)b.hi || (a.hi == b.hi && a.lo >= b.lo); in int128_uge()
[all …]
A Dtimer.h979 uint32_t lo, hi, tmph; in cpu_get_host_ticks() local
984 : "=r"(hi), "=r"(lo), "=r"(tmph)); in cpu_get_host_ticks()
985 } while (unlikely(tmph != hi)); in cpu_get_host_ticks()
986 return lo | (uint64_t)hi << 32; in cpu_get_host_ticks()
/qemu/tests/tcg/mips/user/isa/r5900/
A Dtest_r5900_maddu.c12 uint32_t hi = a >> 32; in maddu() local
22 : "=r" (rd), "=r" (lo), "=r" (hi) in maddu()
23 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in maddu()
24 r = ((uint64_t)hi << 32) | (uint32_t)lo; in maddu()
35 uint32_t hi = a >> 32; in maddu1() local
45 : "=r" (rd), "=r" (lo), "=r" (hi) in maddu1()
46 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in maddu1()
47 r = ((uint64_t)hi << 32) | (uint32_t)lo; in maddu1()
A Dtest_r5900_madd.c12 int32_t hi = a >> 32; in madd() local
22 : "=r" (rd), "=r" (lo), "=r" (hi) in madd()
23 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in madd()
24 r = ((int64_t)hi << 32) | (uint32_t)lo; in madd()
35 int32_t hi = a >> 32; in madd1() local
45 : "=r" (rd), "=r" (lo), "=r" (hi) in madd1()
46 : "r" (rs), "r" (rt), "r" (lo), "r" (hi)); in madd1()
47 r = ((int64_t)hi << 32) | (uint32_t)lo; in madd1()
A Dtest_r5900_multu.c11 uint32_t rd, lo, hi; in multu() local
18 : "=r" (rd), "=r" (lo), "=r" (hi) in multu()
20 r = ((uint64_t)hi << 32) | (uint32_t)lo; in multu()
30 uint32_t rd, lo, hi; in multu1() local
37 : "=r" (rd), "=r" (lo), "=r" (hi) in multu1()
39 r = ((uint64_t)hi << 32) | (uint32_t)lo; in multu1()
A Dtest_r5900_mult.c11 int32_t rd, lo, hi; in mult() local
18 : "=r" (rd), "=r" (lo), "=r" (hi) in mult()
20 r = ((int64_t)hi << 32) | (uint32_t)lo; in mult()
30 int32_t rd, lo, hi; in mult1() local
37 : "=r" (rd), "=r" (lo), "=r" (hi) in mult1()
39 r = ((int64_t)hi << 32) | (uint32_t)lo; in mult1()
A Dtest_r5900_divu1.c13 uint32_t lo, hi; in divu1() local
19 : "=r" (lo), "=r" (hi) in divu1()
23 assert(rs % rt == hi); in divu1()
25 return (struct quotient_remainder) { .quotient = lo, .remainder = hi }; in divu1()
A Dtest_r5900_div1.c13 int32_t lo, hi; in div1() local
19 : "=r" (lo), "=r" (hi) in div1()
23 assert(rs % rt == hi); in div1()
25 return (struct quotient_remainder) { .quotient = lo, .remainder = hi }; in div1()
A Dtest_r5900_mflohi1.c13 int64_t lo, hi, lo1, hi1; in main() local
24 : "=r" (lo), "=r" (hi), in main()
28 r = ((int64_t)hi << 32) | (uint32_t)lo; in main()
/qemu/tests/tcg/tricore/c/
A Dcrt0-tc2x.S57 movh.a %sp,hi:__USTACK # load %sp
59 movh %d0,hi:__ISTACK # load $isp
66 movh %d0,hi:first_trap_table #; load $btv
96 movh.a %a0,hi:_SMALL_DATA_ # %a0 addresses .sdata/.sbss
98 movh.a %a1,hi:_SMALL_DATA2_ # %a1 addresses .sdata2/.sbss2
100 movh.a %a8,hi:_SMALL_DATA3_ # %a8 addresses .sdata3/.sbss3
163 movh %d0,hi:__CSA_BEGIN #; %d0 = begin of CSA
167 movh %d2,hi:__CSA_END #; %d2 = end of CSA
213 movh.a %a13,hi:__clear_table # %a13 = &first table entry
257 movh.a %a13,hi:__copy_table # %a13 = &first table entry
[all …]
/qemu/hw/core/
A Dmachine-hmp-cmds.c260 HvBalloonDeviceInfo *hi; in hmp_info_memory_devices() local
319 hi = value->u.hv_balloon.data; in hmp_info_memory_devices()
322 hi->id ? hi->id : ""); in hmp_info_memory_devices()
323 if (hi->has_memaddr) { in hmp_info_memory_devices()
325 hi->memaddr); in hmp_info_memory_devices()
327 monitor_printf(mon, " max-size: %" PRIu64 "\n", hi->max_size); in hmp_info_memory_devices()
328 if (hi->memdev) { in hmp_info_memory_devices()
329 monitor_printf(mon, " memdev: %s\n", hi->memdev); in hmp_info_memory_devices()
/qemu/hw/i386/
A Dintel_iommu.c504 vtd_set_quad_raw(s, frcd_reg_addr + 8, hi); in vtd_record_frcd()
506 trace_vtd_frr_new(index, hi, lo); in vtd_record_frcd()
583 uint64_t hi, lo; in vtd_report_dmar_fault() local
593 hi |= VTD_FRCD_T; in vtd_report_dmar_fault()
603 uint64_t hi, lo; in vtd_report_ir_fault() local
648 return re->hi & VTD_ROOT_ENTRY_P; in vtd_root_entry_present()
666 re->hi = le64_to_cpu(re->hi); in vtd_get_root_entry()
688 addr = re->hi & VTD_ROOT_ENTRY_CTP; in vtd_get_context_entry_from_root()
700 ce->hi = le64_to_cpu(ce->hi); in vtd_get_context_entry_from_root()
1579 return VTD_CONTEXT_ENTRY_DID(ce->hi); in vtd_get_domain_id()
[all …]
A Dtrace-events7 vtd_inv_desc(const char *type, uint64_t hi, uint64_t lo) "invalidate desc type %s high 0x%"PRIx64" …
19 vtd_inv_desc_wait_write_fail(uint64_t hi, uint64_t lo) "write fail for wait desc hi 0x%"PRIx64" lo …
35 …nt16_t domain, uint64_t hi, uint64_t lo) "%s: replay valid context device %02"PRIx8":%02"PRIx8".%0…
60 vtd_ir_irte_get(int index, uint64_t lo, uint64_t hi) "index %d low 0x%"PRIx64" high 0x%"PRIx64
67 vtd_frr_new(int index, uint64_t hi, uint64_t lo) "index %d high 0x%"PRIx64" low 0x%"PRIx64
111 amdvi_ir_irte_ga_val(uint64_t hi, uint64_t lo) "hi 0x%"PRIx64" lo 0x%"PRIx64
/qemu/hw/dma/
A Dsoc_dma.c112 int hi; in soc_dma_lookup() local
115 hi = dma->memmap_size; in soc_dma_lookup()
117 while (hi > 1) { in soc_dma_lookup()
118 hi /= 2; in soc_dma_lookup()
119 if (lo[hi].addr <= addr) in soc_dma_lookup()
120 lo += hi; in soc_dma_lookup()
/qemu/target/ppc/translate/
A Dvmx-impl.c.inc926 tcg_gen_shl_i64(hi, hi, n);
930 tcg_gen_shl_i64(hi, hi, n);
931 tcg_gen_shli_i64(hi, hi, 1);
936 tcg_gen_or_i64(hi, hi, lo);
1720 tcg_gen_or_i64(hi, hi, lo);
2002 tcg_gen_andi_i64(hi, hi, mask);
2026 tcg_gen_or_i64(hi, hi, t0);
2104 tcg_gen_andi_i64(hi, hi, c);
2108 tcg_gen_muli_i64(hi, hi, c);
2149 hi |= hi << (j - i);
[all …]
/qemu/scripts/kvm/
A Dvmxcap99 lo, hi = bits
102 lo = hi = bits
105 v = (value >> lo) & ((1 << (hi - lo + 1)) - 1)
/qemu/tests/qtest/libqos/
A Dvirtio-pci-modern.c43 uint64_t lo, hi; in get_features() local
56 hi = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_features()
59 return (hi << 32) | lo; in get_features()
90 uint64_t lo, hi; in get_guest_features() local
103 hi = qpci_io_readl(dev->pdev, dev->bar, dev->common_cfg_offset + in get_guest_features()
106 return (hi << 32) | lo; in get_guest_features()
A Dvirtio-mmio.c47 uint64_t hi = 0; in qvirtio_mmio_get_features() local
54 hi = qtest_readl(dev->qts, dev->addr + QVIRTIO_MMIO_HOST_FEATURES); in qvirtio_mmio_get_features()
57 return (hi << 32) | lo; in qvirtio_mmio_get_features()
/qemu/tcg/
A Dtcg-op-ldst.c574 TCGv_i64 lo, hi; in tcg_gen_qemu_ld_i128_int() local
580 hi = TCGV128_LOW(val); in tcg_gen_qemu_ld_i128_int()
585 hi = TCGV128_HIGH(val); in tcg_gen_qemu_ld_i128_int()
593 gen_ldst(opc, tcgv_i64_temp(lo), tcgv_i64_temp(hi), addr, oi); in tcg_gen_qemu_ld_i128_int()
597 tcg_gen_bswap64_i64(hi, hi); in tcg_gen_qemu_ld_i128_int()
692 TCGv_i64 lo, hi; in tcg_gen_qemu_st_i128_int() local
698 hi = tcg_temp_ebb_new_i64(); in tcg_gen_qemu_st_i128_int()
700 tcg_gen_bswap64_i64(hi, TCGV128_LOW(val)); in tcg_gen_qemu_st_i128_int()
705 hi = TCGV128_HIGH(val); in tcg_gen_qemu_st_i128_int()
713 gen_ldst(opc, tcgv_i64_temp(lo), tcgv_i64_temp(hi), addr, oi); in tcg_gen_qemu_st_i128_int()
[all …]
/qemu/include/hw/
A Dclock.h322 uint64_t hi = ns >> 32; in clock_ns_to_ticks() local
327 divu128(&lo, &hi, clk->period); in clock_ns_to_ticks()
/qemu/linux-user/mips64/
A Dtarget_syscall.h14 target_ulong hi; member
/qemu/linux-user/mips/
A Dtarget_syscall.h17 abi_ulong hi; member
/qemu/libdecnumber/
A DdecNumber.c387 hi=lo/10; in decNumberToInt32()
394 if (hi>214748364 || (hi==214748364 && lo>7)) { /* out of range? */ in decNumberToInt32()
400 Int i=X10(hi)+lo; in decNumberToInt32()
423 hi=lo/10; in decNumberToUInt32()
470 if (hi < 0) { in decNumberFromInt128()
480 if (hi < 0) { in decNumberFromInt128()
528 if ((hi < prev) || (hi > INT64_MAX)) { in decNumberIntegralToInt64()
535 if ((hi < prev) || (hi > INT64_MAX)) { in decNumberIntegralToInt64()
538 return (decNumberIsNegative(dn)) ? -((int64_t)hi) : (int64_t)hi; in decNumberIntegralToInt64()
578 if (uadd64_overflow(hi, 1, &hi)) { in decNumberIntegralToInt128()
[all …]
/qemu/tests/fp/
A Dfp-bench.c178 uint64_t hi = r.high; in update_random_ops() local
181 hi = xorshift64star(hi); in update_random_ops()
183 r = make_float128(hi, lo); in update_random_ops()

Completed in 59 milliseconds

1234