Home
last modified time | relevance | path

Searched refs:high (Results 1 – 25 of 142) sorted by relevance

123456

/qemu/include/qemu/
H A Dstats64.h26 uint32_t low, high;
83 uint32_t low, high; in stat64_add() local
84 high = value >> 32; in stat64_add()
87 if (high) { in stat64_add()
88 qatomic_add(&s->high, high); in stat64_add()
119 uint32_t low, high; in stat64_min() local
122 high = value >> 32; in stat64_min()
126 if (orig_high < high) { in stat64_min()
159 uint32_t low, high; in stat64_max() local
162 high = value >> 32; in stat64_max()
[all …]
H A Dtimer.h888 uint32_t low,high; in cpu_get_host_ticks() local
890 asm volatile("rdtsc" : "=a" (low), "=d" (high)); in cpu_get_host_ticks()
891 val = high; in cpu_get_host_ticks()
929 uint32_t high; in cpu_get_host_ticks()
934 : "=r"(rval.i32.high), "=r"(rval.i32.low) : : "g1"); in cpu_get_host_ticks()
/qemu/util/
H A Dstats64.c46 uint32_t high, low; in stat64_get() local
53 high = qatomic_read(&s->high); in stat64_get()
57 return ((uint64_t)high << 32) | low; in stat64_get()
66 qatomic_set(&s->high, val >> 32); in stat64_set()
85 high += (old + low) < old; in stat64_add32_carry()
86 qatomic_add(&s->high, high); in stat64_add32_carry()
93 uint32_t high, low; in stat64_min_slow() local
101 high = qatomic_read(&s->high); in stat64_min_slow()
104 orig = ((uint64_t)high << 32) | low; in stat64_min_slow()
122 uint32_t high, low; in stat64_max_slow() local
[all …]
H A Drange.c81 uint64_t low, uint64_t high) in range_inverse_array() argument
91 out = append_new_range(out, low, high); in range_inverse_array()
98 out = append_new_range(out, low, MIN(range_lob(r) - 1, high)); in range_inverse_array()
105 if (range_lob(r) >= high) { in range_inverse_array()
110 MIN(range_lob(rn) - 1, high)); in range_inverse_array()
118 if (range_upb(r) < high) { in range_inverse_array()
119 out = append_new_range(out, range_upb(r) + 1, high); in range_inverse_array()
H A Dhost-utils.c38 uint32_t high, low; in mul64() member
40 uint32_t low, high; in mul64()
51 rm.ll = (uint64_t)a0.l.low * b0.l.high; in mul64()
52 rn.ll = (uint64_t)a0.l.high * b0.l.low; in mul64()
53 rh.ll = (uint64_t)a0.l.high * b0.l.high; in mul64()
56 rl.l.high = c; in mul64()
58 c = c + rm.l.high + rn.l.high + rh.l.low; in mul64()
60 rh.l.high += (uint32_t)(c >> 32); in mul64()
248 uint64_t high = *phigh; in ulshift() local
256 urshift(&low, &high, 128 - shift); in ulshift()
[all …]
/qemu/target/i386/tcg/
H A Dmem_helper.c32 int low, high; in helper_boundw() local
35 high = cpu_ldsw_data_ra(env, a0 + 2, GETPC()); in helper_boundw()
37 if (v < low || v > high) { in helper_boundw()
47 int low, high; in helper_boundl() local
50 high = cpu_ldl_data_ra(env, a0 + 4, GETPC()); in helper_boundl()
51 if (v < low || v > high) { in helper_boundl()
/qemu/hw/microblaze/
H A Dboot.c141 uint64_t entry, high; in microblaze_load_kernel() local
146 &entry, NULL, &high, NULL, in microblaze_load_kernel()
165 high = (loadaddr + kernel_size + 3) & ~3; in microblaze_load_kernel()
173 high = (ddr_base + kernel_size + 3) & ~3; in microblaze_load_kernel()
180 high = ROUND_UP(high + kernel_size, 4); in microblaze_load_kernel()
181 boot_info.initrd_start = high; in microblaze_load_kernel()
198 high = ROUND_UP(high + initrd_size, 4); in microblaze_load_kernel()
201 boot_info.cmdline = high + 4096; in microblaze_load_kernel()
/qemu/tests/unit/
H A Dtest-div128.c24 uint64_t high; member
33 int64_t high; member
168 rem = divu128(&tmp.low, &tmp.high, tmp.divisor); in test_divu128()
170 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_divu128()
184 rem = divs128(&tmp.low, &tmp.high, tmp.divisor); in test_divs128()
186 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_divs128()
H A Dtest-shift128.c14 uint64_t high; member
114 ulshift(&tmp.low, &tmp.high, tmp.shift, &overflow); in test_lshift()
116 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_lshift()
127 urshift(&tmp.low, &tmp.high, tmp.shift); in test_rshift()
129 g_assert_cmpuint(tmp.high, ==, tmp.rhigh); in test_rshift()
/qemu/include/fpu/
H A Dsoftfloat-types.h101 uint16_t high; member
104 #define make_floatx80_init(exp, mant) { .low = mant, .high = exp }
107 uint64_t high, low; member
109 uint64_t low, high;
112 #define make_float128(high_, low_) ((float128) { .high = high_, .low = low_ })
113 #define make_float128_init(high_, low_) { .high = high_, .low = low_ }
H A Dsoftfloat.h980 a.high &= 0x7fff; in floatx80_abs()
986 a.high ^= 0x8000; in floatx80_chs()
993 return (a.high & 0x7fff) == floatx80_infinity.high && !(a.low << 1); in floatx80_is_infinity()
995 return (a.high & 0x7fff) == floatx80_infinity.high && in floatx80_is_infinity()
1002 return a.high >> 15; in floatx80_is_neg()
1012 return (a.high & 0x7fff) == 0; in floatx80_is_zero_or_denormal()
1124 return a.high & 0x7FFF; in extractFloatx80Exp()
1134 return a.high >> 15; in extractFloatx80Sign()
1264 a.high &= 0x7fffffffffffffffLL; in float128_abs()
1270 a.high ^= 0x8000000000000000LL; in float128_chs()
[all …]
/qemu/hw/intc/
H A Daspeed_vic.c112 bool high; in aspeed_vic_read() local
115 high = false; in aspeed_vic_read()
118 high = !!(offset & 0x4); in aspeed_vic_read()
178 if (high) { in aspeed_vic_read()
192 bool high; in aspeed_vic_write() local
195 high = false; in aspeed_vic_write()
198 high = !!(offset & 0x4); in aspeed_vic_write()
208 if (high) { in aspeed_vic_write()
219 if (high) { in aspeed_vic_write()
248 if (high) { in aspeed_vic_write()
/qemu/hw/ppc/
H A Dvirtex_ml507.c262 uint64_t entry, high; in virtex_init() local
267 &entry, NULL, &high, NULL, 1, PPC_ELF_MACHINE, in virtex_init()
278 high = boot_info.bootstrap_pc + kernel_size + 8192; in virtex_init()
285 initrd_base = high = ROUND_UP(high, 4); in virtex_init()
287 high, machine->ram_size - high); in virtex_init()
294 high = ROUND_UP(high + initrd_size, 4); in virtex_init()
298 boot_info.fdt = high + (8192 * 2); in virtex_init()
/qemu/hw/s390x/
H A Dtod-tcg.c28 tod->high++; in qemu_s390_tod_get()
41 td->base.high--; in qemu_s390_tod_set()
69 td->base.high = 0; in qemu_s390_tod_init()
72 td->base.high += 1; in qemu_s390_tod_init()
H A Dtod-kvm.c23 r = kvm_s390_get_clock_ext(&tod->high, &tod->low); in kvm_s390_get_tod_raw()
25 r = kvm_s390_get_clock(&tod->high, &tod->low); in kvm_s390_get_tod_raw()
47 r = kvm_s390_set_clock_ext(tod->high, tod->low); in kvm_s390_set_tod_raw()
49 r = kvm_s390_set_clock(tod->high, tod->low); in kvm_s390_set_tod_raw()
H A Dtod.c73 qemu_put_byte(f, tod.high); in s390_tod_save()
90 tod.high = qemu_get_byte(f); in s390_tod_load()
/qemu/docs/devel/
H A Ds390-cpu-topology.rst16 -device z14-s390x-cpu,core-id=19,entitlement=high \
18 -device z14-s390x-cpu,core-id=12,entitlement=high \
57 "entitlement": "high",
87 "entitlement": "high",
130 Note that a vertical polarized dedicated vCPU can only have a high
137 - Vertical high
138 - Vertical high dedicated
/qemu/tests/qemu-iotests/
H A D243.out19 Disk usage: high
25 Disk usage: high
49 data disk usage: high
57 data disk usage: high
H A D105.out14 small read at high offset
18 small write at high offset
/qemu/target/arm/tcg/
H A Dneon_helper.c997 uint32_t high; in HELPER() local
1007 high = x >> 32; in HELPER()
1009 high = 0; in HELPER()
1012 high = 0xffff; in HELPER()
1020 uint32_t high; in HELPER() local
1027 high = x >> 32; in HELPER()
1038 int32_t high; in HELPER() local
1044 high = x >> 32; in HELPER()
1045 if (high != (int16_t)high) { in HELPER()
1046 high = (high >> 31) ^ 0x7fff; in HELPER()
[all …]
/qemu/tests/tcg/multiarch/system/
H A Dmemory.c125 uint16_t low = BYTE_NEXT(count), high = BYTE_NEXT(count); in init_test_data_u16() local
126 word = BYTE_SHIFT(high, 1) | BYTE_SHIFT(low, 0); in init_test_data_u16()
189 uint8_t high, low; in read_test_data_u16() local
191 high = (word >> 8) & 0xff; in read_test_data_u16()
193 if (high < low && high != 0) { in read_test_data_u16()
194 ml_printf("Error %d < %d\n", high, low); in read_test_data_u16()
/qemu/linux-user/m68k/
H A Dsignal.c175 uint32_t high = env->fregs[i].d.high << 16; in target_rt_save_fpu_state() local
176 __put_user(high, &fpregs->f_fpregs[i * 3]); in target_rt_save_fpu_state()
226 uint32_t high; in target_rt_restore_fpu_state() local
227 __get_user(high, &fpregs->f_fpregs[i * 3]); in target_rt_restore_fpu_state()
228 env->fregs[i].d.high = high >> 16; in target_rt_restore_fpu_state()
/qemu/block/
H A Dfile-win32.c177 LONG high; in qemu_ftruncate64() local
193 high = length >> 32; in qemu_ftruncate64()
194 dw = SetFilePointer(h, (DWORD) length, &high, FILE_BEGIN); in qemu_ftruncate64()
499 LONG low, high; in raw_co_truncate() local
509 high = offset >> 32; in raw_co_truncate()
515 dwPtrLow = SetFilePointer(s->hfile, low, &high, FILE_BEGIN); in raw_co_truncate()
563 DWORD * high); in raw_co_get_allocated_file_size()
572 DWORD high, low; in raw_co_get_allocated_file_size() local
573 low = get_compressed(filename, &high); in raw_co_get_allocated_file_size()
575 return (((int64_t) high) << 32) + low; in raw_co_get_allocated_file_size()
/qemu/hw/cxl/
H A Dcxl-host.c116 uint32_t low, high; in cxl_hdm_find_target() local
120 high = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_BASE_HI + i * hdm_inc); in cxl_hdm_find_target()
121 base = (low & 0xf0000000) | ((uint64_t)high << 32); in cxl_hdm_find_target()
123 high = ldl_le_p(cache_mem + R_CXL_HDM_DECODER0_SIZE_HI + i * hdm_inc); in cxl_hdm_find_target()
124 size = (low & 0xf0000000) | ((uint64_t)high << 32); in cxl_hdm_find_target()
/qemu/fpu/
H A Dsoftfloat-specialize.c.inc235 r.high = 0x7FFF;
239 r.high = 0xFFFF;
722 return ((a.high & 0x7FFF) == 0x7FFF)
726 return ((a.high & 0x7FFF) == 0x7FFF)
744 return ((a.high & 0x7FFF) == 0x7FFF)
750 return ((a.high & 0x7FFF) == 0x7FFF)
806 aIsLargerSignificand = (a.high < b.high) ? 1 : 0;
833 return (((a.high >> 47) & 0xFFFF) == 0xFFFE)
836 return ((a.high << 1) >= 0xFFFF000000000000ULL)
853 return ((a.high << 1) >= 0xFFFF000000000000ULL)
[all …]

123456