/openbmc/qemu/target/tricore/ |
H A D | op_helper.c | 303 ret_hw0 = sextract32(r1, 0, 16) + sextract32(r2, 0, 16); in helper_add_h_ssov() 304 ret_hw1 = sextract32(r1, 16, 16) + sextract32(r2, 16, 16); in helper_add_h_ssov() 459 ret_hw0 = sextract32(r1, 0, 16) - sextract32(r2, 0, 16); in helper_sub_h_ssov() 460 ret_hw1 = sextract32(r1, 16, 16) - sextract32(r2, 16, 16); in helper_sub_h_ssov() 621 ret_h0 = sextract32(r1, 0, 16); in helper_abs_h_ssov() 624 ret_h1 = sextract32(r1, 16, 16); in helper_abs_h_ssov() 651 t1 = sextract32(r1, 0, 16); in helper_absdif_h_ssov() 652 t2 = sextract32(r2, 0, 16); in helper_absdif_h_ssov() 659 t1 = sextract32(r1, 16, 16); in helper_absdif_h_ssov() 660 t2 = sextract32(r2, 16, 16); in helper_absdif_h_ssov() [all …]
|
H A D | tricore-opcodes.h | 29 #define MASK_BITS_SHIFT_SEXT(op, start, end) (sextract32(op, (start),\
|
/openbmc/qemu/include/tcg/ |
H A D | tcg-gvec-desc.h | 63 return sextract32(desc, SIMD_DATA_SHIFT, SIMD_DATA_BITS); in simd_data()
|
/openbmc/qemu/tests/unit/ |
H A D | test-bitops.c | 43 int32_t r = sextract32(test->value, test->start, test->length); in test_sextract32()
|
/openbmc/qemu/tcg/ |
H A D | tci.c | 70 int diff = sextract32(insn, 12, 20); in tci_args_l() 83 *l1 = sextract32(insn, 12, 20) + (void *)tb_ptr; in tci_args_nl() 90 *l1 = sextract32(insn, 12, 20) + (void *)tb_ptr; in tci_args_rl() 102 *i1 = sextract32(insn, 12, 20); in tci_args_ri() 124 *i2 = sextract32(insn, 16, 16); in tci_args_rrs() 667 regs[r0] = sextract32(regs[r1], pos, len); in tcg_qemu_tb_exec()
|
/openbmc/qemu/tcg/tci/ |
H A D | tcg-target.c.inc | 240 if (diff == sextract32(diff, 0, type)) { 276 if (diff != sextract32(diff, 0, 20)) { 303 tcg_debug_assert(i1 == sextract32(i1, 0, 20)); 360 tcg_debug_assert(i2 == sextract32(i2, 0, 16)); 475 if (offset != sextract32(offset, 0, 16)) { 535 if (arg == sextract32(arg, 0, 20)) {
|
/openbmc/qemu/target/arm/tcg/ |
H A D | vec_internal.h | 101 int32_t extval = sextract32(val, 0, bits); in do_sqrshl_bhs()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | nanomips_translate.c.inc | 3533 imm = sextract32(ctx->opcode, 11, 11); 3606 offset = sextract32(ctx->opcode, 0, 1) << 21 | 3891 sextract32(ctx->opcode, 0, 1) << 31 | 3898 offset = sextract32(ctx->opcode, 0, 1) << 31 | 4034 int32_t s = (sextract32(ctx->opcode, 15, 1) << 8) | 4277 offset = sextract32(ctx->opcode, 15, 1) << 8 | 4322 int32_t s = sextract32(ctx->opcode, 0, 1) << 21 | 4334 int32_t s = sextract32(ctx->opcode, 0, 1) << 25 | 4362 int32_t s = sextract32(ctx->opcode, 0, 1) << 14 | 4370 s = sextract32(ctx->opcode, 0, 1) << 14 | [all …]
|
H A D | micromips_translate.c.inc | 2509 offset = sextract32(ctx->opcode, 0, 2592 offset = sextract32(ctx->opcode, 0, 9); 2631 offset = sextract32(ctx->opcode, 0, 9); 2749 sextract32(ctx->opcode << 1, 0, 27)); 2759 sextract32(ctx->opcode << 1, 0, 27)); 2880 sextract32(ctx->opcode << 1, 0, 22)); 2891 sextract32(ctx->opcode << 1, 0, 22)); 3199 sextract32(ctx->opcode, 0, 10) << 1, 3206 0, sextract32(ctx->opcode, 0, 7) << 1,
|
H A D | mxu_translate.c | 861 s10 = sextract32(ctx->opcode, 10, 9) * 2; in gen_mxu_s16ldd() 915 s10 = sextract32(ctx->opcode, 10, 9) * 2; in gen_mxu_s16std() 1528 s12 = sextract32(ctx->opcode, 10, 10); in gen_mxu_s32ldxx() 1563 s12 = sextract32(ctx->opcode, 10, 10); in gen_mxu_s32stxx()
|
H A D | translate.c | 2955 offset = sextract32(ctx->opcode << 2, 0, 21); in gen_pcrel() 2961 offset = sextract32(ctx->opcode << 2, 0, 21); in gen_pcrel() 2968 offset = sextract32(ctx->opcode << 2, 0, 21); in gen_pcrel() 2977 offset = sextract32(ctx->opcode, 0, 16) << 16; in gen_pcrel() 2984 offset = sextract32(ctx->opcode, 0, 16) << 16; in gen_pcrel() 2995 offset = sextract32(ctx->opcode << 3, 0, 21); in gen_pcrel() 3935 int lsq_offset = sextract32(ctx->opcode, 6, 9) << 4; in gen_loongson_lswc2() 3937 int shf_offset = sextract32(ctx->opcode, 6, 8); in gen_loongson_lswc2() 4091 int offset = sextract32(ctx->opcode, 3, 8); in gen_loongson_lsdc2() 14160 imm = sextract32(ctx->opcode, 7, 9); in decode_opc_special3() [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | internal.h | 74 return sextract32(opcode, shift, nb); \
|
H A D | int_helper.c | 756 psum += (int64_t)sextract32(a, 4 * i, 4) * sextract32(b, 4 * i, 4); in ger_rank8() 767 psum += sextract32(a, 8 * i, 8) * (int64_t)extract32(b, 8 * i, 8); in ger_rank4() 778 psum += (int64_t)sextract32(a, 16 * i, 16) * in ger_rank2() 779 sextract32(b, 16 * i, 16); in ger_rank2()
|
/openbmc/qemu/target/riscv/ |
H A D | vector_internals.h | 73 return sextract32(FIELD_EX32(simd_data(desc), VDATA, LMUL), 0, 3); in vext_lmul()
|
H A D | translate.c | 1238 ctx->lmul = sextract32(FIELD_EX32(tb_flags, TB_FLAGS, LMUL), 0, 3); in riscv_tr_init_disas_context()
|
H A D | cpu_helper.c | 144 int8_t lmul = sextract32(FIELD_EX64(env->vtype, VTYPE, VLMUL), 0, 3); in cpu_get_tb_cpu_state()
|
/openbmc/qemu/hw/scsi/ |
H A D | lsi53c895a.c | 1220 offset = sextract32(addr, 0, 24); in lsi_execute_script() 1322 id = read_dword(s, s->dsa + sextract32(insn, 0, 24)); in lsi_execute_script() 1328 addr = s->dsp + sextract32(addr, 0, 24); in lsi_execute_script() 1550 addr = s->dsp + sextract32(addr, 0, 24); in lsi_execute_script() 1604 addr = s->dsa + sextract32(addr, 0, 24); in lsi_execute_script()
|
/openbmc/qemu/hw/mips/ |
H A D | bootloader.c | 154 insn = deposit32(insn, 0, 1, sextract32(imm20, 19, 1)); in bl_gen_lui_nm()
|
/openbmc/qemu/include/qemu/ |
H A D | bitops.h | 594 static inline int32_t sextract32(uint32_t value, int start, int length) in sextract32() function
|
/openbmc/qemu/include/hw/ |
H A D | registerfields.h | 69 sextract32((storage), R_ ## reg ## _ ## field ## _SHIFT, \
|
/openbmc/qemu/target/hexagon/mmvec/ |
H A D | macros.h | 352 COE = (sextract32(VAL, 24 + 2 * POS, 2) << 8) | \
|
/openbmc/qemu/target/alpha/ |
H A D | translate.c | 1384 disp21 = sextract32(insn, 0, 21) * 4; in translate_one() 1385 disp16 = sextract32(insn, 0, 16); in translate_one() 1386 disp12 = sextract32(insn, 0, 12); in translate_one()
|
/openbmc/qemu/bsd-user/ |
H A D | signal.c | 267 int si_code = sextract32(info->si_code, 0, 24); in tswap_siginfo()
|
/openbmc/qemu/linux-user/ |
H A D | signal.c | 421 int si_code = sextract32(info->si_code, 0, 16); in tswap_siginfo()
|
/openbmc/qemu/target/sh4/ |
H A D | translate.c | 2219 int backup = sextract32(ctx->tbflags, TB_FLAG_GUSA_SHIFT, 8); in sh4_tr_init_disas_context()
|