Home
last modified time | relevance | path

Searched refs:imm12 (Results 1 – 14 of 14) sorted by relevance

/qemu/hw/mips/
H A Dbootloader.c165 static void bl_gen_ori_nm(void **ptr, bl_reg rt, bl_reg rs, uint16_t imm12) in bl_gen_ori_nm() argument
169 assert(extract32(imm12, 0, 12) == imm12); in bl_gen_ori_nm()
173 insn = deposit32(insn, 0, 12, imm12); in bl_gen_ori_nm()
/qemu/tcg/arm/
H A Dtcg-target.c.inc324 int imm12 = encode_imm(offset);
326 if (imm12 >= 0) {
327 *src_rw = deposit32(*src_rw, 0, 12, imm12);
372 * Return < 0 if @imm cannot be encoded, else the entire imm12 field.
634 TCGReg rt, TCGReg rn, int imm12, bool p, bool w)
637 if (imm12 < 0) {
638 imm12 = -imm12;
642 (rn << 16) | (rt << 12) | imm12);
646 TCGReg rn, int imm12)
648 tcg_out_memop_12(s, cond, INSN_LDR_IMM, rt, rn, imm12, 1, 0);
[all …]
/qemu/tcg/loongarch64/
H A Dtcg-target.c.inc845 intptr_t imm12 = sextreg(offset, 0, 12);
847 if (offset != imm12) {
851 imm12 = sextreg(diff, 0, 12);
852 tcg_out_opc_pcaddu12i(s, TCG_REG_TMP2, (diff - imm12) >> 12);
854 tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_TMP2, offset - imm12);
874 tcg_out32(s, encode_djsk12_insn(opc, data, addr, imm12));
880 tcg_out32(s, encode_fdjsk12_insn(opc, data, addr, imm12));
/qemu/tcg/riscv/
H A Dtcg-target.c.inc931 intptr_t imm12 = sextreg(offset, 0, 12);
933 if (offset != imm12) {
937 imm12 = sextreg(diff, 0, 12);
938 tcg_out_opc_upper(s, OPC_AUIPC, TCG_REG_TMP2, diff - imm12);
940 tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_TMP2, offset - imm12);
953 tcg_out_opc_store(s, opc, addr, data, imm12);
962 tcg_out_opc_imm(s, opc, data, addr, imm12);
/qemu/target/xtensa/core-lx106/
H A Dxtensa-modules.c.inc2096 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-fsf/
H A Dxtensa-modules.c.inc2211 { "imm12", 3, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-sample_controller/
H A Dxtensa-modules.c.inc2597 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-de212/
H A Dxtensa-modules.c.inc2965 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-dc233c/
H A Dxtensa-modules.c.inc2865 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-dc232b/
H A Dxtensa-modules.c.inc2784 { "imm12", 3, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-de233_fpu/
H A Dxtensa-modules.c.inc4324 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-test_mmuhifi_c3/
H A Dxtensa-modules.c.inc10747 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-test_kc705_be/
H A Dxtensa-modules.c.inc12464 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },
/qemu/target/xtensa/core-dsp3400/
H A Dxtensa-modules.c.inc43701 { "imm12", FIELD_imm12, -1, 0, 0, 0, 0, 0, 0 },