Home
last modified time | relevance | path

Searched refs:i (Results 1 – 25 of 1998) sorted by relevance

12345678910>>...80

/qemu/accel/tcg/
H A Dtcg-runtime-gvec.c44 for (i = 0; i < oprsz; i += sizeof(uint8_t)) { in HELPER()
55 for (i = 0; i < oprsz; i += sizeof(uint16_t)) { in HELPER()
66 for (i = 0; i < oprsz; i += sizeof(uint32_t)) { in HELPER()
77 for (i = 0; i < oprsz; i += sizeof(uint64_t)) { in HELPER()
88 for (i = 0; i < oprsz; i += sizeof(uint8_t)) { in HELPER()
99 for (i = 0; i < oprsz; i += sizeof(uint16_t)) { in HELPER()
110 for (i = 0; i < oprsz; i += sizeof(uint32_t)) { in HELPER()
121 for (i = 0; i < oprsz; i += sizeof(uint64_t)) { in HELPER()
132 for (i = 0; i < oprsz; i += sizeof(uint8_t)) { in HELPER()
143 for (i = 0; i < oprsz; i += sizeof(uint16_t)) { in HELPER()
[all …]
/qemu/target/mips/tcg/
H A Dlmmi_helper.c63 for (i = 0; i < 8; ++i) { in helper_paddsb()
77 for (i = 0; i < 8; ++i) { in helper_paddusb()
91 for (i = 0; i < 4; ++i) { in helper_paddsh()
105 for (i = 0; i < 4; ++i) { in helper_paddush()
119 for (i = 0; i < 8; ++i) { in helper_paddb()
132 for (i = 0; i < 4; ++i) { in helper_paddh()
145 for (i = 0; i < 2; ++i) { in helper_paddw()
158 for (i = 0; i < 8; ++i) { in helper_psubsb()
172 for (i = 0; i < 8; ++i) { in helper_psubusb()
186 for (i = 0; i < 4; ++i) { in helper_psubsh()
[all …]
/qemu/hw/arm/
H A Dfsl-imx6ul.c70 for (i = 0; i < FSL_IMX6UL_NUM_GPIOS; i++) { in fsl_imx6ul_init()
78 for (i = 0; i < FSL_IMX6UL_NUM_GPTS; i++) { in fsl_imx6ul_init()
86 for (i = 0; i < FSL_IMX6UL_NUM_EPITS; i++) { in fsl_imx6ul_init()
94 for (i = 0; i < FSL_IMX6UL_NUM_ECSPIS; i++) { in fsl_imx6ul_init()
102 for (i = 0; i < FSL_IMX6UL_NUM_I2CS; i++) { in fsl_imx6ul_init()
110 for (i = 0; i < FSL_IMX6UL_NUM_UARTS; i++) { in fsl_imx6ul_init()
118 for (i = 0; i < FSL_IMX6UL_NUM_ETHS; i++) { in fsl_imx6ul_init()
134 for (i = 0; i < FSL_IMX6UL_NUM_USBS; i++) { in fsl_imx6ul_init()
142 for (i = 0; i < FSL_IMX6UL_NUM_USDHCS; i++) { in fsl_imx6ul_init()
150 for (i = 0; i < FSL_IMX6UL_NUM_WDTS; i++) { in fsl_imx6ul_init()
[all …]
H A Dfsl-imx7.c58 for (i = 0; i < FSL_IMX7_NUM_GPIOS; i++) { in fsl_imx7_init()
66 for (i = 0; i < FSL_IMX7_NUM_GPTS; i++) { in fsl_imx7_init()
94 for (i = 0; i < FSL_IMX7_NUM_ECSPIS; i++) { in fsl_imx7_init()
102 for (i = 0; i < FSL_IMX7_NUM_I2CS; i++) { in fsl_imx7_init()
110 for (i = 0; i < FSL_IMX7_NUM_UARTS; i++) { in fsl_imx7_init()
118 for (i = 0; i < FSL_IMX7_NUM_ETHS; i++) { in fsl_imx7_init()
126 for (i = 0; i < FSL_IMX7_NUM_USDHCS; i++) { in fsl_imx7_init()
139 for (i = 0; i < FSL_IMX7_NUM_WDTS; i++) { in fsl_imx7_init()
157 for (i = 0; i < FSL_IMX7_NUM_USBS; i++) { in fsl_imx7_init()
182 for (i = 0; i < smp_cpus; i++) { in fsl_imx7_realize()
[all …]
H A Dfsl-imx6.c60 for (i = 0; i < FSL_IMX6_NUM_UARTS; i++) { in fsl_imx6_init()
67 for (i = 0; i < FSL_IMX6_NUM_EPITS; i++) { in fsl_imx6_init()
72 for (i = 0; i < FSL_IMX6_NUM_I2CS; i++) { in fsl_imx6_init()
77 for (i = 0; i < FSL_IMX6_NUM_GPIOS; i++) { in fsl_imx6_init()
82 for (i = 0; i < FSL_IMX6_NUM_ESDHCS; i++) { in fsl_imx6_init()
87 for (i = 0; i < FSL_IMX6_NUM_USB_PHYS; i++) { in fsl_imx6_init()
91 for (i = 0; i < FSL_IMX6_NUM_USBS; i++) { in fsl_imx6_init()
96 for (i = 0; i < FSL_IMX6_NUM_ECSPIS; i++) { in fsl_imx6_init()
100 for (i = 0; i < FSL_IMX6_NUM_WDTS; i++) { in fsl_imx6_init()
125 for (i = 0; i < smp_cpus; i++) { in fsl_imx6_realize()
[all …]
H A Dfsl-imx25.c46 for (i = 0; i < FSL_IMX25_NUM_UARTS; i++) { in fsl_imx25_init()
50 for (i = 0; i < FSL_IMX25_NUM_GPTS; i++) { in fsl_imx25_init()
54 for (i = 0; i < FSL_IMX25_NUM_EPITS; i++) { in fsl_imx25_init()
62 for (i = 0; i < FSL_IMX25_NUM_I2CS; i++) { in fsl_imx25_init()
66 for (i = 0; i < FSL_IMX25_NUM_GPIOS; i++) { in fsl_imx25_init()
70 for (i = 0; i < FSL_IMX25_NUM_ESDHCS; i++) { in fsl_imx25_init()
74 for (i = 0; i < FSL_IMX25_NUM_USBS; i++) { in fsl_imx25_init()
105 for (i = 0; i < FSL_IMX25_NUM_UARTS; i++) { in fsl_imx25_realize()
129 for (i = 0; i < FSL_IMX25_NUM_GPTS; i++) { in fsl_imx25_realize()
152 for (i = 0; i < FSL_IMX25_NUM_EPITS; i++) { in fsl_imx25_realize()
[all …]
H A Dxlnx-zynqmp.c230 for (i = 0; i < num_rpus; i++) { in xlnx_zynqmp_create_rpu()
337 for (i = 0; i < XLNX_ZYNQMP_NUM_TTC; i++) { in xlnx_zynqmp_create_ttc()
387 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_init()
395 for (i = 0; i < XLNX_ZYNQMP_NUM_GEMS; i++) { in xlnx_zynqmp_init()
401 for (i = 0; i < XLNX_ZYNQMP_NUM_UARTS; i++) { in xlnx_zynqmp_init()
406 for (i = 0; i < XLNX_ZYNQMP_NUM_CAN; i++) { in xlnx_zynqmp_init()
418 for (i = 0; i < XLNX_ZYNQMP_NUM_SPIS; i++) { in xlnx_zynqmp_init()
444 for (i = 0; i < XLNX_ZYNQMP_NUM_USB; i++) { in xlnx_zynqmp_init()
517 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_realize()
572 for (i = 0; i < num_apus; i++) { in xlnx_zynqmp_realize()
[all …]
H A Dnpcm7xx.c355 for (i = 0; i < ARRAY_SIZE(smpboot); i++) { in npcm7xx_write_secondary_boot()
431 for (i = 0; i < ARRAY_SIZE(s->tim); i++) { in npcm7xx_init()
435 for (i = 0; i < ARRAY_SIZE(s->gpio); i++) { in npcm7xx_init()
448 for (i = 0; i < ARRAY_SIZE(s->fiu); i++) { in npcm7xx_init()
453 for (i = 0; i < ARRAY_SIZE(s->pwm); i++) { in npcm7xx_init()
457 for (i = 0; i < ARRAY_SIZE(s->mft); i++) { in npcm7xx_init()
461 for (i = 0; i < ARRAY_SIZE(s->emc); i++) { in npcm7xx_init()
465 for (i = 0; i < ARRAY_SIZE(s->pspi); i++) { in npcm7xx_init()
489 for (i = 0; i < nc->num_cpus; i++) { in npcm7xx_realize()
512 for (i = 0; i < nc->num_cpus; i++) { in npcm7xx_realize()
[all …]
H A Dfsl-imx31.c34 int i; in fsl_imx31_init() local
42 for (i = 0; i < FSL_IMX31_NUM_UARTS; i++) { in fsl_imx31_init()
48 for (i = 0; i < FSL_IMX31_NUM_EPITS; i++) { in fsl_imx31_init()
52 for (i = 0; i < FSL_IMX31_NUM_I2CS; i++) { in fsl_imx31_init()
56 for (i = 0; i < FSL_IMX31_NUM_GPIOS; i++) { in fsl_imx31_init()
66 uint16_t i; in fsl_imx31_realize() local
87 for (i = 0; i < FSL_IMX31_NUM_UARTS; i++) { in fsl_imx31_realize()
96 qdev_prop_set_chr(DEVICE(&s->uart[i]), "chardev", serial_hd(i)); in fsl_imx31_realize()
119 for (i = 0; i < FSL_IMX31_NUM_EPITS; i++) { in fsl_imx31_realize()
141 for (i = 0; i < FSL_IMX31_NUM_I2CS; i++) { in fsl_imx31_realize()
[all …]
/qemu/tests/tcg/hexagon/
H A Dscatter_gather.c132 for (int i = 0; i < MATRIX_SIZE; i++) { in create_offsets_values_preds_16() local
164 for (int i = 0; i < MATRIX_SIZE; i++) { in create_offsets_values_preds_32() local
199 for (int i = 0; i < MATRIX_SIZE; i++) { in create_offsets_values_preds_16_32() local
568 for (int i = 0; i < size; i++) { in check_buffer() local
571 check[i], check[i], ref[i], ref[i]); in check_buffer()
585 for (int i = 0; i < MATRIX_SIZE; ++i) { in scalar_scatter_16() local
602 for (int i = 0; i < MATRIX_SIZE; ++i) { in scalar_scatter_16_acc() local
621 for (int i = 0; i < MATRIX_SIZE; i++) { in scalar_scatter_16_masked() local
643 for (int i = 0; i < MATRIX_SIZE; ++i) { in scalar_scatter_32() local
660 for (int i = 0; i < MATRIX_SIZE; ++i) { in scalar_scatter_32_acc() local
[all …]
H A Dhvx_misc.c34 for (int i = 0; i < BUFSIZE; i++) { in test_load_tmp() local
85 for (int i = 0; i < MAX_VEC_SIZE_BYTES / 4; ++i) { in test_load_tmp2() local
98 for (int i = 0; i < BUFSIZE; i++) { in test_load_cur() local
191 for (int i = 0; i < BUFSIZE; i++) { in test_masked_store() local
285 for (int i = 0; i < MAX_VEC_SIZE_BYTES / 4; i++) { in test_max_temps() local
290 for (int i = 0; i < MAX_VEC_SIZE_BYTES / 2; i++) { in test_max_temps() local
396 for (int i = 0; i < BUFSIZE; i++) { in test_load_tmp_predicated() local
434 for (int i = 0; i < BUFSIZE; i++) { in test_load_cur_predicated() local
452 expect[i] = pred ? buffer1[i] : buffer0[i]; in test_load_cur_predicated()
460 for (int i = 0; i < BUFSIZE / 2; i++) { in test_vcombine() local
[all …]
H A Dvector_add_int.c26 int i; in vector_add_int() local
27 for (i = 0; i < 400; i++) { in vector_add_int()
28 gA[i] = gB[i] + gC[i]; in vector_add_int()
35 int i; in main() local
36 for (i = 0; i < 400; i++) { in main()
37 gB[i] = i * 2; in main()
38 gC[i] = i * 3; in main()
42 for (i = 0; i < 400; i++) { in main()
43 if (gA[i] != i * 5) { in main()
46 printf("gC[%d] = %d\t", i, gC[i]); in main()
[all …]
/qemu/tests/tcg/arm/
H A Dfcvt.c118 for (i = 0; i < ARRAY_SIZE(single_numbers); ++i) { in convert_single_to_half()
141 for (i = 0; i < ARRAY_SIZE(single_numbers); ++i) { in convert_single_to_double()
164 for (i = 0; i < ARRAY_SIZE(single_numbers); ++i) { in convert_single_to_integer()
234 for (i = 0; i < ARRAY_SIZE(double_numbers); ++i) { in convert_double_to_half()
259 for (i = 0; i < ARRAY_SIZE(double_numbers); ++i) { in convert_double_to_single()
283 for (i = 0; i < ARRAY_SIZE(double_numbers); ++i) { in convert_double_to_integer()
327 for (i = 0; i < ARRAY_SIZE(half_numbers); ++i) { in convert_half_to_double()
350 for (i = 0; i < ARRAY_SIZE(half_numbers); ++i) { in convert_half_to_single()
377 for (i = 0; i < ARRAY_SIZE(half_numbers); ++i) { in convert_half_to_integer()
412 for (i = 0; i < ARRAY_SIZE(round_flags); ++i) { in main()
[all …]
/qemu/target/i386/
H A Dops_sse.h61 for (int i = 0; i < 1 << SHIFT; i++) { in glue() local
95 for (int i = 0; i < 4 << SHIFT; i++) { in glue() local
138 for (int i = 0; i < 2 << SHIFT; i++) { in glue() local
201 for (i = 15; i >= shift; i--) { in glue()
204 for (i = 0; i < shift; i++) { in glue()
1456 for (i = 0; i < 8; i++) { in glue()
1459 for (i = 0; i < 8; i++) { in glue()
1552 #define SHR(v, i) (i < 64 && i > -64 ? i > 0 ? v >> (i) : (v << -(i)) : 0) in SSE_HELPER_W() argument
2206 for (i = 0 ; i < 4 ; i++) { in glue()
2502 for (i = 0; i < 8; i++) { in helper_vpermd_ymm()
[all …]
/qemu/target/ppc/
H A Dint_helper.c209 for (i = 0; i < 8; i++) { in helper_BPERMD()
1157 for (i = 0; i < 2; i++) { in helper_VDIVESD()
1173 for (i = 0; i < 2; i++) { in helper_VDIVEUD()
2257 for (i = 1; i < 32; i++) { in bcd_is_valid()
2289 for (i = 31; i > 0; i--) { in bcd_cmp_mag()
2421 for (i = 1; i < 8; i++) { in helper_bcdcfn()
2458 for (i = 1; i < 8; i++) { in helper_bcdctn()
2497 for (i = 0; i < 16; i++) { in helper_bcdcfz()
2538 for (i = 0; i < 16; i++) { in helper_bcdctz()
2655 for (i = 30; i > 0; i--) { in helper_bcdctsq()
[all …]
/qemu/target/hexagon/imported/mmvec/
H A Dext.idef341 for(i = 0; i < fVBYTES(); i++) {\
1182 VdV.w[i] = fVSATW(VuV.w[i]+VvV.w[i]+fGETQBIT(QsV,i*4)))
1185 VdV.w[i] = VuV.w[i]+VvV.w[i]+fGETQBIT(QxV,i*4);
1189 VdV.w[i] = VuV.w[i]+~VvV.w[i]+fGETQBIT(QxV,i*4);
1193 VdV.w[i] = VuV.w[i]+VvV.w[i];
1197 VdV.w[i] = VuV.w[i]+~VvV.w[i]+1;
1822 VdV.ub[i] = fGETQBIT(QtV,i) ? VuV.ub[i] : VvV.ub[i])
1826 VddV.v[0].ub[i] = fGETQBIT(QtV,i) ? VuV.ub[i] : VvV.ub[i];
1827 VddV.v[1].ub[i] = !fGETQBIT(QtV,i) ? VuV.ub[i] : VvV.ub[i])
2140 VdV.w[i] = fMAX(fCL1_4(~VuV.w[i]),fCL1_4(VuV.w[i])) + VvV.w[i])
[all …]
/qemu/tests/tcg/multiarch/system/
H A Dmemory.c77 for (i = 0; i < TEST_SIZE; i++) { in init_test_data_u8()
127 for (i = 0; i < offset; i++) { in reset_start_data()
146 for (i = 0; i < max; i++) { in init_test_data_u16()
166 for (i = 0; i < max; i++) { in init_test_data_u32()
189 for (i = 0; i < max; i++) { in init_test_data_u64()
212 for (i = 0; i < max; i++) { in read_test_data_u16()
237 for (i = 0; i < max; i++) { in read_test_data_u32()
279 for (i = 0; i < max; i++) { in read_test_data_u64()
383 for (i = 0; i < max; i++) { in read_test_data_s8()
421 for (i = 0; i < max; i++) { in read_test_data_s16()
[all …]
/qemu/target/arm/tcg/
H A Dvec_helper.c185 for (i = 0; i < opr_sz; ++i) { in HELPER()
186 d[i] = do_sqrdmlah_b(n[i], m[i], a[i], false, true); in HELPER()
196 for (i = 0; i < opr_sz; ++i) { in HELPER()
197 d[i] = do_sqrdmlah_b(n[i], m[i], a[i], true, true); in HELPER()
206 for (i = 0; i < opr_sz; ++i) { in HELPER()
216 for (i = 0; i < opr_sz; ++i) { in HELPER()
259 for (i = 0; i < opr_sz / 2; ++i) { in HELPER()
284 for (i = 0; i < opr_sz / 2; ++i) { in HELPER()
296 for (i = 0; i < opr_sz / 2; ++i) { in HELPER()
2369 d[i] = n[i] < m[i] ? m[i] - n[i] : n[i] - m[i]; \
[all …]
/qemu/target/alpha/
H A Dint_helper.c95 int i; in helper_minub8() local
97 for (i = 0; i < 8; ++i) { in helper_minub8()
111 int i; in helper_minsb8() local
113 for (i = 0; i < 8; ++i) { in helper_minsb8()
128 for (i = 0; i < 4; ++i) { in helper_minuw4()
144 for (i = 0; i < 4; ++i) { in helper_minsw4()
159 for (i = 0; i < 8; ++i) { in helper_maxub8()
175 for (i = 0; i < 8; ++i) { in helper_maxsb8()
190 for (i = 0; i < 4; ++i) { in helper_maxuw4()
206 for (i = 0; i < 4; ++i) { in helper_maxsw4()
[all …]
/qemu/target/hexagon/
H A Ddecode.c106 for (i = start; i != newloc; i += direction) { in decode_send_insn_to()
119 for (i = 1; i < packet->num_insns; i++) { in decode_fill_newvalue_regno()
172 for (i = 0; i < numinsns; i++) { in decode_split_cmpjump()
184 for (i = 0; i < pkt->num_insns; i++) { in decode_split_cmpjump()
225 for (i = 0; i < numinsns; i++) { in decode_set_insn_attr_fields()
368 for (i = 0; i < last_insn; i++) { in decode_shuffle_for_execution()
391 for (i = 0; i < packet->num_insns; i++) { in decode_apply_extenders()
402 for (i = 0; i < packet->num_insns; i++) { in decode_remove_extenders()
542 for (int i = 0; i < pkt->num_insns; i++) { in has_valid_slot_assignment() local
587 for (i = pkt->num_insns - 1; i >= 0; i--) { in decode_set_slot_number()
[all …]
/qemu/tests/qtest/
H A Daspeed_smc-test.c177 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in read_page()
190 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in read_page_mem()
226 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_sector()
237 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_sector()
244 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_sector()
257 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_sector()
277 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_all()
288 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_all()
295 for (i = 0; i < FLASH_PAGE_SIZE / 4; i++) { in test_erase_all()
534 for (int i = 0; i < 16; i++) { in test_write_block_protect() local
[all …]
/qemu/target/hexagon/imported/
H A Dalu.idef512 for (i=0;i<4;i++) {
521 for (i=0;i<4;i++) {
530 for (i=0;i<4;i++) {
539 for (i=0;i<4;i++) {
548 for (i=0;i<2;i++) {
557 for (i=0;i<2;i++) {
635 for (i=0;i<2;i++) {
644 for (i=0;i<2;i++) {
655 for (i=0;i<2;i++) {
665 for (i=0;i<2;i++) {
[all …]
/qemu/target/s390x/tcg/
H A Dvec_int_helper.c106 for (i = 0; i < (128 / BITS); i++) { \
122 for (i = 0; i < (128 / BITS); i++) { \
137 for (i = 0; i < (128 / BITS); i++) { \
151 for (i = 0; i < (128 / BITS); i++) { \
268 for (i = 0; i < (128 / BITS); i++) { \
285 for (i = 0; i < (128 / BITS); i++) { \
302 for (i = 0; i < (128 / BITS); i++) { \
319 for (i = 0, j = 0; i < (128 / TBITS); i++, j += 2) { \
531 for (i = 15; i >= 0; --i, e1 = e0) { in HELPER()
560 for (i = 1; i < 16; ++i, e1 = e0) { in HELPER()
[all …]
/qemu/target/loongarch/tcg/
H A Dvec_helper.c45 for (i = 0; i < oprsz / 16 ; i++) { in HELPER()
63 for (i = 0; i < oprsz / 16; i++) { in HELPER()
81 for (i = 0; i < oprsz / 16; i ++) { in HELPER()
99 for (i = 0; i < oprsz / 16; i++) { in HELPER()
143 for (i = 0; i < oprsz / 16; i++) { in HELPER()
161 for (i = 0; i < oprsz / 16; i++) { in HELPER()
179 for (i = 0; i < oprsz / 16; i++) { in HELPER()
197 for (i = 0; i < oprsz / 16; i++) { in HELPER()
215 for (i = 0; i < oprsz / 16; i++) { in HELPER()
1156 for (i = 0; i < 2; i++) {
[all …]
/qemu/tests/unit/
H A Drcutorture.c107 for (i = 0; i < n_threads; i++) { in wait_all_threads()
130 for (i = 0; i < RCU_READ_RUN; i++) { in rcu_read_perf_test()
196 for (i = 0; i < nreaders; i++) { in perftest()
208 for (i = 0; i < nreaders; i++) { in rperftest()
219 for (i = 0; i < nupdaters; i++) { in uperftest()
266 for (i = 0; i < 100; i++) { in rcu_read_stress_test()
280 for (i = 0; i <= RCU_STRESS_PIPE_LEN; i++) { in rcu_read_stress_test()
369 for (i = 0; i < nreaders; i++) { in stresstest()
373 for (i = 0; i < 5; i++) { in stresstest()
399 for (i = 0; i < nreaders; i++) { in gtest_stress()
[all …]

12345678910>>...80