Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 73) sorted by relevance

123

/qemu/target/mips/tcg/
A Ddsp_helper.c440 temp += 1; in mipsdsp_rrshift1_add_q16()
459 temp += 1; in mipsdsp_rrshift1_add_q32()
632 temp = temp + 0x00008000; in mipsdsp_rndq15_mul_q15_q15()
648 temp = temp << 1; in mipsdsp_sat16_mul_q15_q15()
2156 temp[0] = (int64_t)(temp[0] << 30) >> 30; in helper_mulsaq_s_w_qh()
2913 temp = temp >> 1; in helper_bitrev()
3289 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_l()
3316 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_r_l()
3350 return (temp[1] << 63) | (temp[0] >> 1); in helper_dextr_rs_l()
3480 temp = temp & ((1ULL << (size + 1)) - 1); in helper_dextp()
[all …]
/qemu/target/tricore/
A Dtranslate.c292 tcg_gen_or_tl(temp, temp, temp2); in gen_ldmst()
480 tcg_gen_xor_tl(temp, temp, ret_low); in gen_addsub64_h()
1397 tcg_gen_and_tl(temp, temp, mask); in gen_cond_add()
1404 tcg_gen_and_tl(temp, temp, mask); in gen_cond_add()
1511 tcg_gen_and_tl(temp, temp, temp2); in gen_cond_sub()
1514 tcg_gen_and_tl(temp, temp, mask); in gen_cond_sub()
1521 tcg_gen_and_tl(temp, temp, mask); in gen_cond_sub()
2668 (*op)(temp, temp, temp2); in gen_accumulating_cond()
2740 tcg_gen_and_tl(temp, temp, mask); in gen_insert()
2806 tcg_gen_xor_tl(temp, temp, arg); in gen_calc_usb_mulr_h()
[all …]
/qemu/target/i386/hvf/
A Dx86_flags.c63 target_ulong temp = ((lf_carries) & (LF_MASK_AF)) | \
67 temp = ((lf_carries) & ~(LF_MASK_PDB | LF_MASK_SD)); \
75 env->hvf_lflags.auxbits = (target_ulong)(uint32_t)temp; \
91 target_ulong temp = ((lf_carries) & (LF_MASK_AF)) | \
94 temp = ((lf_carries) & ~(LF_MASK_PDB | LF_MASK_SD)); \
216 uint32_t temp = (255 & env->hvf_lflags.result); in get_PF() local
217 temp = temp ^ (255 & (env->hvf_lflags.auxbits >> LF_BIT_PDB)); in get_PF()
218 temp = (temp ^ (temp >> 4)) & 0x0F; in get_PF()
219 return (0x9669U >> temp) & 1; in get_PF()
224 uint32_t temp = (255 & env->hvf_lflags.result) ^ (!val); in set_PF() local
[all …]
/qemu/target/loongarch/tcg/
A Dvec_helper.c1160 *Vd = temp;
1198 *Vd = temp; in HELPER()
1295 *Vd = temp; in HELPER()
1346 *Vd = temp; in HELPER()
2600 *Vd = temp; in HELPER()
2621 *Vd = temp; in HELPER()
2642 *Vd = temp; in HELPER()
2663 *Vd = temp; in HELPER()
2687 *Vd = temp; in HELPER()
2711 *Vd = temp; in HELPER()
[all …]
A Dtranslate.c237 TCGv temp = NULL; in make_address_x() local
240 temp = tcg_temp_new(); in make_address_x()
243 tcg_gen_add_tl(temp, base, addend); in make_address_x()
244 base = temp; in make_address_x()
247 tcg_gen_ext32u_tl(temp, base); in make_address_x()
248 base = temp; in make_address_x()
/qemu/hw/net/can/
A Dcan_sja1000.c660 uint64_t temp = 0; in can_sja_mem_read() local
671 temp = s->mode; in can_sja_mem_read()
699 temp = 0x00; in can_sja_mem_read()
715 temp = s->clock; in can_sja_mem_read()
718 temp = 0xff; in can_sja_mem_read()
723 temp = s->control; in can_sja_mem_read()
737 temp = s->code; in can_sja_mem_read()
740 temp = s->mask; in can_sja_mem_read()
746 temp = s->clock; in can_sja_mem_read()
749 temp = 0xff; in can_sja_mem_read()
[all …]
/qemu/target/avr/
A Dmachine.c56 uint8_t temp; in get_segment() local
58 temp = qemu_get_byte(f); in get_segment()
59 *ramp = ((uint32_t)temp) << 16; in get_segment()
67 uint8_t temp = *ramp >> 16; in put_segment() local
69 qemu_put_byte(f, temp); in put_segment()
/qemu/hw/audio/
A Dac97.c894 temp = MIN(temp, max); in write_audio()
896 if (!temp) { in write_audio()
901 while (temp) { in write_audio()
912 temp -= copied; in write_audio()
917 if (!temp) { in write_audio()
948 while (temp) { in write_bup()
969 temp = MIN(temp, max); in read_audio()
971 if (!temp) { in read_audio()
976 while (temp) { in read_audio()
985 temp -= acquired; in read_audio()
[all …]
A Dcs4231a.c530 int temp, net; in cs_write_audio() local
534 temp = len; in cs_write_audio()
537 while (temp) { in cs_write_audio()
542 to_copy = MIN (temp, left); in cs_write_audio()
561 temp -= copied; in cs_write_audio()
/qemu/crypto/
A Daes.c1298 u32 temp; in AES_set_encrypt_key() local
1320 temp = rk[3]; in AES_set_encrypt_key()
1340 temp = rk[ 5]; in AES_set_encrypt_key()
1362 temp = rk[ 7]; in AES_set_encrypt_key()
1375 temp = rk[11]; in AES_set_encrypt_key()
1380 (AES_Te4[(temp ) & 0xff] & 0x000000ff); in AES_set_encrypt_key()
1399 u32 temp; in AES_set_decrypt_key() local
1410 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key()
1411 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in AES_set_decrypt_key()
1412 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in AES_set_decrypt_key()
[all …]
/qemu/hw/sensor/
A Dtmp105.c106 int64_t temp; in tmp105_set_temperature() local
108 if (!visit_type_int(v, name, &temp, errp)) { in tmp105_set_temperature()
111 if (temp >= 128000 || temp < -128000) { in tmp105_set_temperature()
113 temp / 1000, temp % 1000); in tmp105_set_temperature()
117 s->temperature = (int16_t) (temp * 256 / 1000); in tmp105_set_temperature()
A Dtmp421.c141 int64_t temp; in tmp421_set_temperature() local
146 if (!visit_type_int(v, name, &temp, errp)) { in tmp421_set_temperature()
150 if (temp >= maxs[ext_range] || temp < mins[ext_range]) { in tmp421_set_temperature()
152 temp / 1000, temp % 1000); in tmp421_set_temperature()
166 s->temperature[tempid] = (int16_t) ((temp * 256 - 128) / 1000) + offset; in tmp421_set_temperature()
A Demc141x.c81 int64_t temp; in emc141x_set_temperature() local
84 if (!visit_type_int(v, name, &temp, errp)) { in emc141x_set_temperature()
98 s->sensor[tempid].raw_temp_current = temp / 1000; in emc141x_set_temperature()
/qemu/migration/
A Dmultifd-zero-page.c29 ram_addr_t temp; in swap_page_offset() local
35 temp = pages_offset[a]; in swap_page_offset()
37 pages_offset[b] = temp; in swap_page_offset()
/qemu/linux-user/m68k/
A Dsignal.c99 int temp; in restore_sigcontext() local
107 __get_user(temp, &sc->sc_sr); in restore_sigcontext()
108 cpu_m68k_set_ccr(env, temp); in restore_sigcontext()
237 int temp; in target_rt_restore_ucontext() local
240 __get_user(temp, &uc->tuc_mcontext.version); in target_rt_restore_ucontext()
241 if (temp != TARGET_MCONTEXT_VERSION) in target_rt_restore_ucontext()
262 __get_user(temp, &gregs[17]); in target_rt_restore_ucontext()
263 cpu_m68k_set_ccr(env, temp); in target_rt_restore_ucontext()
/qemu/tests/qtest/libqos/
A Dqgraph.c111 QOSGraphEdge *temp; in destroy_edges() local
115 temp = QSLIST_FIRST(elist); in destroy_edges()
117 g_free(temp->dest); in destroy_edges()
118 g_free(temp->before_cmd_line); in destroy_edges()
119 g_free(temp->after_cmd_line); in destroy_edges()
120 g_free(temp->extra_device_opts); in destroy_edges()
121 g_free(temp->edge_name); in destroy_edges()
122 g_free(temp->arg); in destroy_edges()
123 g_free(temp); in destroy_edges()
/qemu/target/riscv/
A Dcrypto_helper.c150 uint32_t temp = (RS1 >> 32) & 0xFFFFFFFF; in HELPER() local
154 temp = ror32(temp, 8); /* Rotate right by 8 */ in HELPER()
158 t.w[0] = t.w[1] = t.w[2] = t.w[3] = temp; in HELPER()
/qemu/target/m68k/
A Dcpu.c356 CPU_LDoubleU temp; in cpu_get_fp80() local
358 temp.d = f; in cpu_get_fp80()
359 *pmant = temp.l.lower; in cpu_get_fp80()
360 *pexp = temp.l.upper; in cpu_get_fp80()
365 CPU_LDoubleU temp; in cpu_set_fp80() local
367 temp.l.upper = upper; in cpu_set_fp80()
368 temp.l.lower = mant; in cpu_set_fp80()
369 return temp.d; in cpu_set_fp80()
/qemu/target/loongarch/tcg/insn_trans/
A Dtrans_fmov.c.inc100 TCGv_i32 temp = tcg_temp_new_i32();
103 tcg_gen_extrl_i64_i32(temp, Rj);
104 tcg_gen_andi_i32(temp, temp, mask);
106 tcg_gen_or_i32(fcsr0, fcsr0, temp);
/qemu/hw/sh4/
A Dsh7750.c282 uint16_t temp; in sh7750_mem_writew() local
305 temp = porta_lines(s); in sh7750_mem_writew()
307 porta_changed(s, temp); in sh7750_mem_writew()
310 temp = portb_lines(s); in sh7750_mem_writew()
312 portb_changed(s, temp); in sh7750_mem_writew()
335 uint16_t temp; in sh7750_mem_writel() local
356 temp = porta_lines(s); in sh7750_mem_writel()
360 porta_changed(s, temp); in sh7750_mem_writel()
363 temp = portb_lines(s); in sh7750_mem_writel()
367 portb_changed(s, temp); in sh7750_mem_writel()
/qemu/target/rx/
A Dtranslate.c44 TCGv temp; member
273 tcg_gen_and_i32(dc->temp, dc->temp, cpu_psw_c); in psw_cond()
275 dc->value = dc->temp; in psw_cond()
289 dc->value = dc->temp; in psw_cond()
294 tcg_gen_sari_i32(dc->temp, dc->temp, 31); in psw_cond()
295 tcg_gen_andc_i32(dc->temp, cpu_psw_z, dc->temp); in psw_cond()
297 dc->value = dc->temp; in psw_cond()
309 dc->value = dc->temp; in psw_cond()
313 dc->value = dc->temp; in psw_cond()
1063 TCGv temp; in rx_sbb() local
[all …]
/qemu/include/exec/
A Dram_addr.h381 unsigned long temp = leul_to_cpu(bitmap[k]); in cpu_physical_memory_set_dirty_lebitmap() local
383 nbits = ctpopl(temp); in cpu_physical_memory_set_dirty_lebitmap()
384 qatomic_or(&blocks[DIRTY_MEMORY_VGA][idx][offset], temp); in cpu_physical_memory_set_dirty_lebitmap()
389 temp); in cpu_physical_memory_set_dirty_lebitmap()
400 temp); in cpu_physical_memory_set_dirty_lebitmap()
/qemu/target/i386/tcg/
A Dfpu_helper.c90 CPU_LDoubleU temp; in do_fldt() local
94 return temp.d; in do_fldt()
99 CPU_LDoubleU temp; in do_fstt() local
101 temp.d = f; in do_fstt()
845 CPU_LDoubleU temp; in helper_fbst_ST0() local
849 temp.d = ST0; in helper_fbst_ST0()
865 if (SIGND(temp)) { in helper_fbst_ST0()
1789 temp.d = ST0; in helper_fxtract()
1796 ST0 = temp.d; in helper_fxtract()
1828 ST0 = temp.d; in helper_fxtract()
[all …]
/qemu/target/riscv/insn_trans/
A Dtrans_rvm.c.inc298 TCGv temp, zero, one;
300 temp = tcg_temp_new();
305 * If div by zero, set temp to 1, else source2.
308 tcg_gen_movcond_tl(TCG_COND_EQ, temp, source2, zero, one, source2);
310 tcg_gen_remu_tl(temp, source1, temp);
313 tcg_gen_movcond_tl(TCG_COND_EQ, ret, source2, zero, source1, temp);
/qemu/tests/qemu-iotests/tests/
A Dbackup-discard-source117 temp = next(n for n in nodes if n['node-name'] == 'temp')
118 bitmap = temp['dirty-bitmaps'][0]

Completed in 104 milliseconds

123