Home
last modified time | relevance | path

Searched refs:tmp (Results 1 – 25 of 89) sorted by relevance

1234

/illumos-kvm-cmd/target-arm/
H A Dtranslate.c248 tcg_gen_andi_i32(tmp, tmp, 0x00ff00ff); in gen_rev16()
375 tcg_gen_andi_i32(tmp, tmp, 0x8000); in gen_add16()
673 tcg_gen_xor_i32(tmp, tmp, tmp2); in gen_test_cc()
680 tcg_gen_xor_i32(tmp, tmp, tmp2); in gen_test_cc()
691 tcg_gen_xor_i32(tmp, tmp, tmp2); in gen_test_cc()
702 tcg_gen_xor_i32(tmp, tmp, tmp2); in gen_test_cc()
1257 tcg_gen_ori_i32(tmp, tmp, 2); in IWMMXT_OP()
1265 tcg_gen_ori_i32(tmp, tmp, 1); in gen_op_iwmmxt_set_cup()
1333 tcg_gen_andi_i32(tmp, tmp, mask); in gen_iwmmxt_shift()
1670 tcg_gen_andi_i32(tmp, tmp, 7); in disas_iwmmxt_insn()
[all …]
H A Dneon_helper.c187 if (tmp != (type)tmp) { \
225 if (tmp != (type)tmp) { \
267 if (tmp != (type)tmp) { \
306 if (tmp != (type)tmp) { \
555 dest = (src1 + (1 << (-1 - tmp))) >> -tmp; \
593 dest = (src1 + (1 << (-1 - tmp))) >> -tmp; \
777 dest = (src1 + (1 << (-1 - tmp))) >> -tmp; \
969 if ((tmp ^ (tmp << 1)) & SIGNBIT) { \
971 tmp = (tmp >> 31) ^ ~SIGNBIT; \
995 if ((tmp ^ (tmp << 1)) & SIGNBIT64) { \
[all …]
/illumos-kvm-cmd/target-m68k/
H A Dtranslate.c747 tcg_gen_xor_i32(tmp, tmp, QREG_CC_DEST); in gen_jmpcc()
748 tcg_gen_andi_i32(tmp, tmp, CCF_V); in gen_jmpcc()
755 tcg_gen_xor_i32(tmp, tmp, QREG_CC_DEST); in gen_jmpcc()
756 tcg_gen_andi_i32(tmp, tmp, CCF_V); in gen_jmpcc()
763 tcg_gen_shri_i32(tmp, tmp, 2); in gen_jmpcc()
772 tcg_gen_shri_i32(tmp, tmp, 2); in gen_jmpcc()
904 tcg_gen_mul_i32(tmp, tmp, src); in DISAS_INSN()
1046 tcg_gen_andi_i32(tmp, tmp, 1); in DISAS_INSN()
1047 tcg_gen_shli_i32(tmp, tmp, 2); in DISAS_INSN()
1058 tcg_gen_not_i32(tmp, tmp); in DISAS_INSN()
[all …]
H A Dhelper.c205 uint32_t tmp; in cpu_m68k_flush_flags() local
218 tmp = dest + src; \ in cpu_m68k_flush_flags()
221 if ((1u << (sizeof(type) * 8 - 1)) & (tmp ^ dest) & (tmp ^ src)) \ in cpu_m68k_flush_flags()
239 tmp = dest - src; in cpu_m68k_flush_flags()
263 if (tmp <= src) in cpu_m68k_flush_flags()
265 if (HIGHBIT & (tmp ^ dest) & (tmp ^ src)) in cpu_m68k_flush_flags()
707 int64_t tmp; in HELPER() local
711 if (result != tmp) { in HELPER()
888 int32_t tmp; in HELPER() local
904 int32_t tmp; in HELPER() local
[all …]
/illumos-kvm-cmd/target-alpha/
H A Dtranslate.c594 TCGv_i32 tmp; in gen_qual_roundmode() local
633 TCGv_i32 tmp; in gen_qual_flushzero() local
744 tcg_gen_andi_i64(tmp, tmp, (int32_t)0xc0000000); in gen_fcvtlq()
764 tcg_gen_shli_i64(tmp, tmp, 32); in gen_fcvtql()
1221 tcg_gen_shli_i64(tmp, tmp, 3); in gen_ext_l()
1623 tcg_gen_addi_i64(tmp, tmp, lit); in translate_one()
1625 tcg_gen_add_i64(tmp, tmp, cpu_ir[rb]); in translate_one()
1661 tcg_gen_subi_i64(tmp, tmp, lit); in translate_one()
1687 tcg_gen_addi_i64(tmp, tmp, lit); in translate_one()
1707 tcg_gen_subi_i64(tmp, tmp, lit); in translate_one()
[all …]
/illumos-kvm-cmd/hw/
H A Dm48t59.c191 int tmp; in m48t59_write() local
213 if (tmp >= 0 && tmp <= 59) { in m48t59_write()
222 if (tmp >= 0 && tmp <= 59) { in m48t59_write()
231 if (tmp >= 0 && tmp <= 23) { in m48t59_write()
264 if (tmp >= 0 && tmp <= 59) { in m48t59_write()
283 if (tmp >= 0 && tmp <= 59) { in m48t59_write()
293 if (tmp >= 0 && tmp <= 23) { in m48t59_write()
304 tm.tm_wday = tmp; in m48t59_write()
312 if (tmp != 0) { in m48t59_write()
322 if (tmp >= 1 && tmp <= 12) { in m48t59_write()
[all …]
H A Dpxa2xx_keypad.c160 uint32_t tmp; in pxa2xx_keypad_read() local
164 tmp = s->kpc; in pxa2xx_keypad_read()
165 if(tmp & KPC_MI) in pxa2xx_keypad_read()
167 if(tmp & KPC_DI) in pxa2xx_keypad_read()
170 return tmp; in pxa2xx_keypad_read()
176 tmp = s->kprec; in pxa2xx_keypad_read()
177 if(tmp & KPREC_OF1) in pxa2xx_keypad_read()
185 return tmp; in pxa2xx_keypad_read()
188 tmp = s->kpmk; in pxa2xx_keypad_read()
189 if(tmp & KPMK_MKP) in pxa2xx_keypad_read()
[all …]
H A Dmcf5206.c198 int tmp; in m5206_mbar_update() local
199 tmp = s->icr[irq]; in m5206_mbar_update()
200 level = (tmp >> 2) & 7; in m5206_mbar_update()
201 if (tmp & 0x80) { in m5206_mbar_update()
449 uint32_t tmp; in m5206_mbar_writeb() local
450 tmp = m5206_mbar_readw(opaque, offset & ~1); in m5206_mbar_writeb()
452 tmp = (tmp & 0xff00) | value; in m5206_mbar_writeb()
454 tmp = (tmp & 0x00ff) | (value << 8); in m5206_mbar_writeb()
473 uint32_t tmp; in m5206_mbar_writew() local
476 tmp = (tmp & 0xffff0000) | value; in m5206_mbar_writew()
[all …]
H A Dfirmware_abi.h59 uint8_t tmp, *tmpptr; in Sun_init_header() local
66 tmp = 0; in Sun_init_header()
69 tmp ^= tmpptr[i]; in Sun_init_header()
71 header->checksum = tmp; in Sun_init_header()
H A Dvirtio-9p-local.c421 char *tmp = qemu_strdup(rpath(ctx, oldpath)); in local_link() local
424 if (tmp == NULL) { in local_link()
428 err = link(tmp, rpath(ctx, newpath)); in local_link()
433 qemu_free(tmp); in local_link()
450 char *tmp; in local_rename() local
453 tmp = qemu_strdup(rpath(ctx, oldpath)); in local_rename()
455 err = rename(tmp, rpath(ctx, newpath)); in local_rename()
458 qemu_free(tmp); in local_rename()
461 qemu_free(tmp); in local_rename()
/illumos-kvm-cmd/
H A Dgdbstub.c607 uint32_t tmp; in cpu_gdb_write_register() local
849 abi_ulong tmp; in cpu_gdb_write_register() local
950 uint32_t tmp; in cpu_gdb_write_register() local
957 tmp &= ~1; in cpu_gdb_write_register()
1012 uint32_t tmp; in cpu_gdb_write_register() local
1180 uint32_t tmp; in cpu_gdb_write_register() local
1237 uint32_t tmp; in cpu_gdb_write_register() local
1245 env->regs[n] = tmp; in cpu_gdb_write_register()
1320 uint32_t tmp; in cpu_gdb_write_register() local
1328 env->regs[n] = tmp; in cpu_gdb_write_register()
[all …]
H A Dgen-icount.h38 TCGv_i32 tmp = tcg_const_i32(1); in gen_io_start() local
39 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); in gen_io_start()
40 tcg_temp_free_i32(tmp); in gen_io_start()
45 TCGv_i32 tmp = tcg_const_i32(0); in gen_io_end() local
46 tcg_gen_st_i32(tmp, cpu_env, offsetof(CPUState, can_do_io)); in gen_io_end()
47 tcg_temp_free_i32(tmp); in gen_io_end()
H A Daio.c205 AioHandler *tmp; in qemu_aio_wait() local
218 tmp = node; in qemu_aio_wait()
221 if (tmp->deleted) { in qemu_aio_wait()
222 QLIST_REMOVE(tmp, node); in qemu_aio_wait()
223 qemu_free(tmp); in qemu_aio_wait()
H A Dexec-all.h165 target_ulong tmp; in tb_jmp_cache_hash_page() local
166 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_page()
167 return (tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK; in tb_jmp_cache_hash_page()
172 target_ulong tmp; in tb_jmp_cache_hash_func() local
173 tmp = pc ^ (pc >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)); in tb_jmp_cache_hash_func()
174 return (((tmp >> (TARGET_PAGE_BITS - TB_JMP_PAGE_BITS)) & TB_JMP_PAGE_MASK) in tb_jmp_cache_hash_func()
175 | (tmp & TB_JMP_ADDR_MASK)); in tb_jmp_cache_hash_func()
H A Daes.c1272 unsigned char tmp[AES_BLOCK_SIZE]; in AES_cbc_encrypt() local
1279 tmp[n] = in[n] ^ ivec[n]; in AES_cbc_encrypt()
1280 AES_encrypt(tmp, out, key); in AES_cbc_encrypt()
1288 tmp[n] = in[n] ^ ivec[n]; in AES_cbc_encrypt()
1290 tmp[n] = ivec[n]; in AES_cbc_encrypt()
1291 AES_encrypt(tmp, tmp, key); in AES_cbc_encrypt()
1292 memcpy(out, tmp, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1297 memcpy(tmp, in, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1307 memcpy(tmp, in, AES_BLOCK_SIZE); in AES_cbc_encrypt()
1308 AES_decrypt(tmp, tmp, key); in AES_cbc_encrypt()
[all …]
H A Dnbd.c307 uint16_t tmp; in nbd_receive_negotiate() local
359 if (read_sync(csock, &tmp, sizeof(tmp)) != sizeof(tmp)) { in nbd_receive_negotiate()
364 *flags = be16_to_cpu(tmp) << 16; in nbd_receive_negotiate()
424 if (read_sync(csock, &tmp, sizeof(tmp)) != sizeof(tmp)) { in nbd_receive_negotiate()
429 *flags |= be32_to_cpu(tmp); in nbd_receive_negotiate()
/illumos-kvm-cmd/target-ppc/
H A Dhelper_regs.h26 target_ulong tmp; in hreg_swap_gpr_tgpr() local
28 tmp = env->gpr[0]; in hreg_swap_gpr_tgpr()
30 env->tgpr[0] = tmp; in hreg_swap_gpr_tgpr()
31 tmp = env->gpr[1]; in hreg_swap_gpr_tgpr()
33 env->tgpr[1] = tmp; in hreg_swap_gpr_tgpr()
34 tmp = env->gpr[2]; in hreg_swap_gpr_tgpr()
36 env->tgpr[2] = tmp; in hreg_swap_gpr_tgpr()
37 tmp = env->gpr[3]; in hreg_swap_gpr_tgpr()
39 env->tgpr[3] = tmp; in hreg_swap_gpr_tgpr()
/illumos-kvm-cmd/target-sparc/
H A Dmachine.c11 uint32_t tmp; in cpu_save() local
36 tmp = cpu_get_psr(env); in cpu_save()
37 qemu_put_be32(f, tmp); in cpu_save()
40 tmp = env->interrupt_index; in cpu_save()
41 qemu_put_be32(f, tmp); in cpu_save()
107 uint32_t tmp; in cpu_load() local
130 tmp = qemu_get_be32(f); in cpu_load()
133 cpu_put_psr(env, tmp); in cpu_load()
136 tmp = qemu_get_be32(f); in cpu_load()
137 env->interrupt_index = tmp; in cpu_load()
H A Dop_helper.c497 uint64_t tmp; in helper_faligndata() local
561 uint32_t tmp; in helper_fmul8x16() local
584 uint32_t tmp; in helper_fmul8x16al() local
607 uint32_t tmp; in helper_fmul8x16au() local
630 uint32_t tmp; in helper_fmul8sux16() local
653 uint32_t tmp; in helper_fmul8ulx16() local
676 uint32_t tmp; in helper_fmuld8sux16() local
685 d.VIS_L64(r) = tmp; in helper_fmuld8sux16()
698 uint32_t tmp; in helper_fmuld8ulx16() local
707 d.VIS_L64(r) = tmp; in helper_fmuld8ulx16()
[all …]
/illumos-kvm-cmd/slirp/
H A Dudp.c146 struct socket *tmp; in udp_input() local
148 for (tmp = slirp->udb.so_next; tmp != &slirp->udb; in udp_input()
149 tmp = tmp->so_next) { in udp_input()
150 if (tmp->so_lport == uh->uh_sport && in udp_input()
151 tmp->so_laddr.s_addr == ip->ip_src.s_addr) { in udp_input()
152 so = tmp; in udp_input()
156 if (tmp == &slirp->udb) { in udp_input()
/illumos-kvm-cmd/target-cris/
H A Dop_helper.c310 int64_t tmp; in helper_evaluate_flags_muls() local
315 tmp = mof; in helper_evaluate_flags_muls()
316 tmp <<= 32; in helper_evaluate_flags_muls()
317 tmp |= res; in helper_evaluate_flags_muls()
318 if (tmp == 0) in helper_evaluate_flags_muls()
320 else if (tmp < 0) in helper_evaluate_flags_muls()
331 uint64_t tmp; in helper_evaluate_flags_mulu() local
333 tmp = mof; in helper_evaluate_flags_mulu()
334 tmp <<= 32; in helper_evaluate_flags_mulu()
335 tmp |= res; in helper_evaluate_flags_mulu()
[all …]
/illumos-kvm-cmd/target-mips/
H A Dop_helper.c334 target_ulong tmp; local
336 tmp = do_lbu(arg2, mem_idx);
358 target_ulong tmp; in helper_lwr() local
360 tmp = do_lbu(arg2, mem_idx); in helper_lwr()
361 arg1 = (arg1 & 0xFFFFFF00) | tmp; in helper_lwr()
420 uint64_t tmp; in helper_ldl() local
422 tmp = do_lbu(arg2, mem_idx); in helper_ldl()
465 uint64_t tmp; in helper_ldr() local
467 tmp = do_lbu(arg2, mem_idx); in helper_ldr()
943 tmp >>= 1; in helper_mtc0_index()
[all …]
/illumos-kvm-cmd/block/
H A Dqcow.c197 uint8_t tmp[16]; in qcow_set_key()
203 printf(" %02x", tmp[i]); in qcow_set_key()
274 tmp = cpu_to_be64(l2_offset); in get_cluster_offset()
277 &tmp, sizeof(tmp)) < 0) in get_cluster_offset()
369 tmp = cpu_to_be64(cluster_offset); in get_cluster_offset()
370 l2_table[l2_index] = tmp; in get_cluster_offset()
372 &tmp, sizeof(tmp)) < 0) in get_cluster_offset()
745 uint64_t tmp; in qcow_create() local
816 tmp = 0; in qcow_create()
818 ret = qemu_write_full(fd, &tmp, sizeof(tmp)); in qcow_create()
[all …]
H A Dvmdk.c493 uint32_t min_count, *l2_table, tmp = 0; in get_cluster_offset() local
546 tmp = cpu_to_le32(cluster_offset); in get_cluster_offset()
547 l2_table[l2_index] = tmp; in get_cluster_offset()
558 m_data->offset = tmp; in get_cluster_offset()
771 i < gt_count; i++, tmp += gt_size) { in vmdk_create()
772 ret = qemu_write_full(fd, &tmp, sizeof(tmp)); in vmdk_create()
773 if (ret != sizeof(tmp)) { in vmdk_create()
781 for (i = 0, tmp = header.gd_offset + gd_size; in vmdk_create()
782 i < gt_count; i++, tmp += gt_size) { in vmdk_create()
783 ret = qemu_write_full(fd, &tmp, sizeof(tmp)); in vmdk_create()
[all …]
/illumos-kvm-cmd/target-ia64/
H A Dfirmware.c535 uint8_t *image = NULL, *tmp; in read_image() local
557 if ((tmp = realloc(image, *size + CHUNK)) == NULL) { in read_image()
563 image = tmp; in read_image()
588 tmp = realloc(image, *size); in read_image()
589 if (tmp) in read_image()
590 image = tmp; in read_image()

Completed in 124 milliseconds

1234