Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 63) sorted by relevance

123

/illumos-kvm-cmd/tests/
H A Dtest-i386.h34 long res, flags; in exec_opq() local
35 res = s0; in exec_opq()
43 long res, flags; in exec_opl() local
44 res = s0; in exec_opl()
51 long res, flags; in exec_opw() local
52 res = s0; in exec_opw()
60 res = s0; in exec_opb()
69 res = s0; in exec_opq()
78 res = s0; in exec_opl()
86 res = s0; in exec_opw()
[all …]
H A Dtest-i386-shift.h33 long res, flags; in exec_opq() local
34 res = s0; in exec_opq()
47 long res, flags; in exec_opl() local
48 res = s0; in exec_opl()
60 long res, flags; in exec_opw() local
61 res = s0; in exec_opw()
84 long res, flags; in exec_opq() local
85 res = s0; in exec_opq()
99 res = s0; in exec_opl()
112 res = s0; in exec_opw()
[all …]
H A Dtest-i386-muldiv.h4 long res, s1, s0, flags; in glue() local
7 res = s0; in glue()
14 : "=a" (res), "=g" (flags) in glue()
15 : "q" (s1), "0" (res), "1" (flags)); in glue()
22 long res, s1, flags, resh; in glue() local
25 res = op0; in glue()
32 : "=a" (res), "=g" (flags), "=d" (resh) in glue()
40 long res, s1, flags, resh; in glue() local
43 res = op0; in glue()
59 long res, s1, flags, resh; in glue() local
[all …]
H A Dtest-i386.c358 int res;\
489 int i, res; in test_loop() local
522 res = s0; in test_imulw2()
540 res = s0; in test_imull2()
559 res = s0; in test_imulq2()
577 res = 0;\
968 double res;\
1039 res = op0;\
1156 asm("xaddl %1, %0" : "=r" (res) : "0" (res)); in test_xchg()
1253 : "=r" (res), "=r" (res2) : "m" (mseg), "0" (res));\
[all …]
/illumos-kvm-cmd/target-arm/
H A Dop_helper.c109 return res; in HELPER()
119 return res; in HELPER()
129 return res; in HELPER()
134 uint32_t res; in HELPER() local
144 return res; in HELPER()
152 res = ~0; in HELPER()
154 return res; in HELPER()
162 res = 0; in HELPER()
164 return res; in HELPER()
214 return res; in HELPER()
[all …]
H A Dop_addsub.h25 uint32_t res = 0; in HELPER() local
31 return res; in HELPER()
36 uint32_t res = 0; in HELPER() local
44 return res; in HELPER()
49 uint32_t res = 0; in HELPER() local
55 return res; in HELPER()
60 uint32_t res = 0; in HELPER() local
68 return res; in HELPER()
73 uint32_t res = 0; in HELPER() local
79 return res; in HELPER()
[all …]
H A Dneon_helper.c135 return res; \
169 return res; \
208 return res;
220 return res; in HELPER()
250 return res;
262 return res; in HELPER()
286 res = 0;
288 return res;
301 return res; in HELPER()
331 return res;
[all …]
H A Dhelper.c439 uint32_t res; in HELPER() local
442 return res; in HELPER()
447 uint32_t res; in HELPER() local
450 return res; in HELPER()
1999 res = a + b; in add16_sat()
2006 return res; in add16_sat()
2021 return res; in add8_sat()
2036 return res; in sub16_sat()
2051 return res; in sub8_sat()
2069 return res; in add16_usat()
[all …]
/illumos-kvm-cmd/target-m68k/
H A Dhelper.c418 uint32_t res; in HELPER() local
436 return res; in HELPER()
441 uint32_t res; in HELPER() local
459 return res; in HELPER()
615 float64 res; in HELPER() local
623 res = float64_chs(res); in HELPER()
626 return res; in HELPER()
652 int64_t res; in HELPER() local
666 return res; in HELPER()
887 int64_t res; in HELPER() local
[all …]
/illumos-kvm-cmd/target-cris/
H A Dop_helper.c317 tmp |= res; in helper_evaluate_flags_muls()
335 tmp |= res; in helper_evaluate_flags_mulu()
364 if (res == 0L) in helper_evaluate_flags_mcp()
393 if (res == 0L) in helper_evaluate_flags_alu_4()
422 if (res == 0L) in helper_evaluate_flags_sub_4()
438 if ((int32_t)res < 0) in helper_evaluate_flags_move_4()
440 else if (res == 0L) in helper_evaluate_flags_move_4()
449 if ((int16_t)res < 0L) in helper_evaluate_flags_move_2()
451 else if (res == 0) in helper_evaluate_flags_move_2()
466 res = env->cc_result; in helper_evaluate_flags()
[all …]
H A Dmmu.c204 res->bf_vec = vect_base; in cris_mmu_translate_page()
231 res->bf_vec = vect_base + 2; in cris_mmu_translate_page()
237 res->bf_vec = vect_base + 3; in cris_mmu_translate_page()
242 res->bf_vec = vect_base + 3; in cris_mmu_translate_page()
249 res->prot = 0; in cris_mmu_translate_page()
251 res->prot |= PAGE_READ; in cris_mmu_translate_page()
253 res->prot |= PAGE_WRITE; in cris_mmu_translate_page()
255 res->prot |= PAGE_EXEC; in cris_mmu_translate_page()
346 res->phy = vaddr; in cris_mmu_translate()
347 res->prot = PAGE_BITS; in cris_mmu_translate()
[all …]
H A Dhelper.c74 struct cris_mmu_result res; in cpu_cris_handle_mmu_fault() local
80 miss = cris_mmu_translate(&res, env, address & TARGET_PAGE_MASK, in cpu_cris_handle_mmu_fault()
92 env->fault_vector = res.bf_vec; in cpu_cris_handle_mmu_fault()
101 phy = res.phy & ~0x80000000; in cpu_cris_handle_mmu_fault()
102 prot = res.prot; in cpu_cris_handle_mmu_fault()
111 address, res.phy, is_softmmu, res.bf_vec, env->pc); in cpu_cris_handle_mmu_fault()
257 struct cris_mmu_result res; in cpu_get_phys_page_debug() local
260 miss = cris_mmu_translate(&res, env, addr, 0, 0, 1); in cpu_get_phys_page_debug()
263 miss = cris_mmu_translate(&res, env, addr, 2, 0, 1); in cpu_get_phys_page_debug()
267 phy = res.phy; in cpu_get_phys_page_debug()
/illumos-kvm-cmd/
H A Dsoftmmu_template.h58 DATA_TYPE res; in glue() local
76 res = io_mem_read[index][2](io_mem_opaque[index], physaddr); in glue()
80 return res; in glue()
87 DATA_TYPE res; in glue() local
106 res = glue(io_read, SUFFIX)(ioaddr, addr, retaddr); in glue()
114 res = glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(addr, in glue()
137 return res; in glue()
145 DATA_TYPE res, res1, res2; in glue() local
160 res = glue(io_read, SUFFIX)(ioaddr, addr, retaddr); in glue()
176 res = (DATA_TYPE)res; in glue()
[all …]
H A Dos-posix.c98 char *res; in os_find_datadir() local
137 res = qemu_mallocz(max_len); in os_find_datadir()
138 snprintf(res, max_len, "%s%s", dir, SHARE_SUFFIX); in os_find_datadir()
139 if (access(res, R_OK)) { in os_find_datadir()
140 snprintf(res, max_len, "%s%s", dir, BUILD_SUFFIX); in os_find_datadir()
141 if (access(res, R_OK)) { in os_find_datadir()
142 qemu_free(res); in os_find_datadir()
143 res = NULL; in os_find_datadir()
147 return res; in os_find_datadir()
H A Dsoftmmu_header.h77 RES_TYPE res; in glue() local
87 res = glue(glue(__ld, SUFFIX), MMUSUFFIX)(addr, mmu_idx); in glue()
90 res = glue(glue(ld, USUFFIX), _raw)((uint8_t *)physaddr); in glue()
92 return res; in glue()
98 int res, page_index; in glue() local
108 res = (DATA_STYPE)glue(glue(__ld, SUFFIX), MMUSUFFIX)(addr, mmu_idx); in glue()
111 res = glue(glue(lds, SUFFIX), _raw)((uint8_t *)physaddr); in glue()
113 return res; in glue()
H A Dqemu-sockets.c110 for (e = res; e != NULL; e = e->ai_next) { in inet_print_addrinfo()
121 struct addrinfo ai,*res,*e; in inet_listen_opts() local
157 inet_print_addrinfo(__FUNCTION__, res); in inet_listen_opts()
160 for (e = res; e != NULL; e = e->ai_next) { in inet_listen_opts()
201 freeaddrinfo(res); in inet_listen_opts()
208 freeaddrinfo(res); in inet_listen_opts()
216 freeaddrinfo(res); in inet_listen_opts()
222 struct addrinfo ai,*res,*e; in inet_connect_opts() local
255 for (e = res; e != NULL; e = e->ai_next) { in inet_connect_opts()
283 freeaddrinfo(res); in inet_connect_opts()
[all …]
/illumos-kvm-cmd/fpu/
H A Dsoftfloat-native.c184 res = 0; in float32_to_uint32()
188 res = v; in float32_to_uint32()
190 return res; in float32_to_uint32()
199 res = 0; in float32_to_uint32_round_to_zero()
203 res = v; in float32_to_uint32_round_to_zero()
205 return res; in float32_to_uint32_round_to_zero()
310 res = 0; in float64_to_uint32()
314 res = v; in float64_to_uint32()
316 return res; in float64_to_uint32()
325 res = 0; in float64_to_uint32_round_to_zero()
[all …]
/illumos-kvm-cmd/target-alpha/
H A Dop_helper.c73 uint64_t res; in helper_subqv() local
78 return res; in helper_subqv()
88 return res; in helper_sublv()
95 if (unlikely((int32_t)res != res)) { in helper_mullv()
168 res = 0; in helper_cmpbge()
175 return res; in helper_cmpbge()
190 return res; in helper_minub8()
206 return res; in helper_minsb8()
221 return res; in helper_minuw4()
237 return res; in helper_minsw4()
[all …]
/illumos-kvm-cmd/tests/alpha/
H A Dtest-cond.c7 int res = 1; \
10 : "+r" (res) : "r" (a)); \
11 return !res; \
19 int res = 1; \
24 : "+r" (res) : "r" (a)); \
25 return res; \
H A Dtest-ovf.c3 long res; in test_subqv() local
6 : "=r" (res) : "r" (a), "r" (b)); in test_subqv()
7 return res; in test_subqv()
/illumos-kvm-cmd/block/
H A Dqcow2-refcount.c874 res->corruptions++; in inc_refcounts()
879 res->check_errors++; in inc_refcounts()
884 res->corruptions++; in inc_refcounts()
1041 res->corruptions++; in check_refcounts_l1()
1057 res->check_errors++; in check_refcounts_l1()
1118 res->corruptions++; in qcow2_check_refcounts()
1124 res->corruptions++; in qcow2_check_refcounts()
1134 res->corruptions++; in qcow2_check_refcounts()
1145 res->check_errors++; in qcow2_check_refcounts()
1155 res->corruptions++; in qcow2_check_refcounts()
[all …]
/illumos-kvm-cmd/scripts/
H A Dcheckpatch.pl347 my $res = '';
358 $res .= $c;
362 return $res;
366 return $res;
396 my $res = '';
478 return $res;
683 my @res = ();
817 $res = '';
819 $res .= $1;
827 return $res;
[all …]
/illumos-kvm-cmd/tests/cris/
H A Dcheck_addcm.c21 #define verify_addc_m(a, b, res, n, z, v, c) \ argument
26 if (r != (res)) \
30 #define verify_addc_pi_m(a, b, res, n, z, v, c) \ argument
35 if (r != (res)) \
/illumos-kvm-cmd/hw/
H A Darm_gic.c253 uint32_t res; in gic_dist_readb() local
281 res = 0; in gic_dist_readb()
284 res |= (1 << i); in gic_dist_readb()
296 res = 0; in gic_dist_readb()
300 res |= (1 << i); in gic_dist_readb()
308 res = 0; in gic_dist_readb()
312 res |= (1 << i); in gic_dist_readb()
328 res = cm; in gic_dist_readb()
337 res = 0; in gic_dist_readb()
349 res = 0; in gic_dist_readb()
[all …]
/illumos-kvm-cmd/target-i386/
H A Dhelper_template.h273 target_long res; in glue() local
285 res = (t0 << count) | ((target_ulong)(eflags & CC_C) << (count - 1)); in glue()
287 res |= t0 >> (DATA_BITS + 1 - count); in glue()
288 t0 = res; in glue()
302 target_long res; in glue() local
314 res = (t0 >> count) | ((target_ulong)(eflags & CC_C) << (DATA_BITS - count)); in glue()
316 res |= t0 << (DATA_BITS + 1 - count); in glue()
317 t0 = res; in glue()

Completed in 106 milliseconds

123