/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_arith.c.inc | 267 TRANS(and, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, tcg_gen_and_tl) 268 TRANS(or, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, tcg_gen_or_tl) 269 TRANS(xor, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, tcg_gen_xor_tl) 270 TRANS(nor, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, tcg_gen_nor_tl) 273 TRANS(slt, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_slt) 274 TRANS(sltu, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_sltu) 279 TRANS(mulh_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_mulh_d) 287 TRANS(div_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_div_d) 288 TRANS(mod_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_rem_d) 289 TRANS(div_du, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_div_du) [all …]
|
H A D | trans_shift.c.inc | 78 TRANS(sll_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_sll_d) 79 TRANS(srl_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_srl_d) 80 TRANS(sra_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_sra_d) 82 TRANS(rotr_d, 64, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_rotr_d) 83 TRANS(slli_w, ALL, gen_rri_c, EXT_NONE, EXT_SIGN, tcg_gen_shli_tl) 84 TRANS(slli_d, 64, gen_rri_c, EXT_NONE, EXT_NONE, tcg_gen_shli_tl) 86 TRANS(srli_d, 64, gen_rri_c, EXT_NONE, EXT_NONE, tcg_gen_shri_tl) 87 TRANS(srai_w, ALL, gen_rri_c, EXT_NONE, EXT_NONE, gen_sari_w) 88 TRANS(srai_d, 64, gen_rri_c, EXT_NONE, EXT_NONE, tcg_gen_sari_tl) 89 TRANS(rotri_w, 64, gen_rri_v, EXT_NONE, EXT_NONE, gen_rotr_w) [all …]
|
H A D | trans_bit.c.inc | 183 TRANS(clo_w, ALL, gen_rr, EXT_NONE, EXT_NONE, gen_clo_w) 185 TRANS(cto_w, ALL, gen_rr, EXT_NONE, EXT_NONE, gen_cto_w) 186 TRANS(ctz_w, ALL, gen_rr, EXT_NONE, EXT_NONE, gen_ctz_w) 187 TRANS(clo_d, 64, gen_rr, EXT_NONE, EXT_NONE, gen_clo_d) 188 TRANS(clz_d, 64, gen_rr, EXT_NONE, EXT_NONE, gen_clz_d) 189 TRANS(cto_d, 64, gen_rr, EXT_NONE, EXT_NONE, gen_cto_d) 190 TRANS(ctz_d, 64, gen_rr, EXT_NONE, EXT_NONE, gen_ctz_d) 192 TRANS(revb_4h, 64, gen_rr, EXT_NONE, EXT_NONE, gen_revb_4h) 196 TRANS(revh_d, 64, gen_rr, EXT_NONE, EXT_NONE, gen_revh_d) 201 TRANS(maskeqz, ALL, gen_rrr, EXT_NONE, EXT_NONE, EXT_NONE, gen_maskeqz) [all …]
|
H A D | trans_memory.c.inc | 8 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 9 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 14 gen_set_gpr(a->rd, dest, EXT_NONE); 20 TCGv data = gpr_src(ctx, a->rd, EXT_NONE); 21 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 31 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 32 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 37 gen_set_gpr(a->rd, dest, EXT_NONE); 63 gen_set_gpr(a->rd, dest, EXT_NONE); 77 gen_set_gpr(a->rd, dest, EXT_NONE); [all …]
|
H A D | trans_extra.c.inc | 20 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 21 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 33 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 34 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 47 TCGv dst1 = gpr_dst(ctx, a->rd, EXT_NONE); 48 TCGv dst2 = gpr_dst(ctx, a->rj, EXT_NONE); 77 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 78 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 81 gen_set_gpr(a->rd, dest, EXT_NONE); 91 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_fmemory.c.inc | 15 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 31 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 45 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 46 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 62 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 63 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 77 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 78 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); 95 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 96 TCGv src2 = gpr_src(ctx, a->rk, EXT_NONE); [all …]
|
H A D | trans_atomic.c.inc | 9 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 15 gen_set_gpr(a->rd, t1, EXT_NONE); 22 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 23 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 24 TCGv src2 = gpr_src(ctx, a->rd, EXT_NONE); 43 gen_set_gpr(a->rd, dest, EXT_NONE); 52 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 53 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE); 54 TCGv val = gpr_src(ctx, a->rk, EXT_NONE); 67 gen_set_gpr(a->rd, dest, EXT_NONE);
|
H A D | trans_privileged.c.inc | 204 dest = gpr_dst(ctx, a->rd, EXT_NONE); 211 gen_set_gpr(a->rd, dest, EXT_NONE); 233 src1 = gpr_src(ctx, a->rd, EXT_NONE); 235 dest = gpr_dst(ctx, a->rd, EXT_NONE); 242 gen_set_gpr(a->rd, dest, EXT_NONE); 269 src1 = gpr_src(ctx, a->rd, EXT_NONE); 270 mask = gpr_src(ctx, a->rj, EXT_NONE); 285 gen_set_gpr(a->rd, oldv, EXT_NONE); 305 TCGv val = gpr_src(ctx, a->rd, EXT_NONE); 392 TCGv rj = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
H A D | trans_branch.c.inc | 23 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 24 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 29 gen_set_gpr(a->rd, dest, EXT_NONE); 48 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE); 49 TCGv src2 = gpr_src(ctx, a->rd, EXT_NONE); 57 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
|
H A D | trans_fmov.c.inc | 52 TCGv src = gpr_src(ctx, a->rj, EXT_NONE); 70 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 80 gen_set_gpr(a->rd, dest, EXT_NONE); 88 TCGv Rj = gpr_src(ctx, a->rj, EXT_NONE); 122 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE); 132 gen_set_gpr(a->rd, dest, EXT_NONE); 198 tcg_gen_andi_tl(t0, gpr_src(ctx, a->rj, EXT_NONE), 0x1); 212 tcg_gen_ld8u_tl(gpr_dst(ctx, a->rd, EXT_NONE), tcg_env,
|
H A D | trans_vec.c.inc | 4830 TCGv src = gpr_src(ctx, a->rj, EXT_NONE); 4863 TCGv dst = gpr_dst(ctx, a->rd, EXT_NONE); 4902 TCGv src = gpr_src(ctx, a->rj, EXT_NONE); 5258 addr = gpr_src(ctx, a->rj, EXT_NONE); 5287 addr = gpr_src(ctx, a->rj, EXT_NONE); 5316 src1 = gpr_src(ctx, a->rj, EXT_NONE); 5317 src2 = gpr_src(ctx, a->rk, EXT_NONE); 5345 src1 = gpr_src(ctx, a->rj, EXT_NONE); 5346 src2 = gpr_src(ctx, a->rk, EXT_NONE); 5370 addr = gpr_src(ctx, a->rj, EXT_NONE); [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvb.c.inc | 168 return gen_shift(ctx, a, EXT_NONE, gen_bset, NULL); 174 return gen_shift_imm_tl(ctx, a, EXT_NONE, gen_bset); 188 return gen_shift(ctx, a, EXT_NONE, gen_bclr, NULL); 194 return gen_shift_imm_tl(ctx, a, EXT_NONE, gen_bclr); 208 return gen_shift(ctx, a, EXT_NONE, gen_binv, NULL); 214 return gen_shift_imm_tl(ctx, a, EXT_NONE, gen_binv); 226 return gen_shift(ctx, a, EXT_NONE, gen_bext, NULL); 232 return gen_shift_imm_tl(ctx, a, EXT_NONE, gen_bext); 268 return gen_shift_imm_fn_per_ol(ctx, a, EXT_NONE, 302 return gen_unary(ctx, a, EXT_NONE, gen_rev8_32); [all …]
|
H A D | trans_rvk.c.inc | 55 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); 56 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE); 95 return gen_arith(ctx, a, EXT_NONE, gen_helper_aes64es, NULL); 102 return gen_arith(ctx, a, EXT_NONE, gen_helper_aes64esm, NULL); 109 return gen_arith(ctx, a, EXT_NONE, gen_helper_aes64ds, NULL); 142 return gen_unary(ctx, a, EXT_NONE, gen_helper_aes64im); 219 return gen_sha512_rv32(ctx, a, EXT_NONE, tcg_gen_rotli_i64, 227 return gen_sha512_rv32(ctx, a, EXT_NONE, tcg_gen_rotli_i64, 235 return gen_sha512_rv32(ctx, a, EXT_NONE, tcg_gen_rotri_i64, 243 return gen_sha512_rv32(ctx, a, EXT_NONE, tcg_gen_rotli_i64, [all …]
|
H A D | trans_rvzce.c.inc | 37 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext8u_tl); 44 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext16u_tl); 51 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext8s_tl); 58 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext16s_tl); 66 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext32u_tl); 72 return gen_unary(ctx, a, EXT_NONE, tcg_gen_not_tl); 235 TCGv val = get_gpr(ctx, i, EXT_NONE); 266 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); 267 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE); 283 TCGv a0 = get_gpr(ctx, xA0, EXT_NONE); [all …]
|
H A D | trans_rvi.c.inc | 242 TCGv src1l = get_gpr(ctx, a->rs1, EXT_NONE); 340 TCGv data = get_gpr(ctx, a->rs2, EXT_NONE); 352 TCGv src1l = get_gpr(ctx, a->rs1, EXT_NONE); 353 TCGv src2l = get_gpr(ctx, a->rs2, EXT_NONE); 414 return gen_arith(ctx, a, EXT_NONE, tcg_gen_add_tl, NULL); 428 return gen_arith(ctx, a, EXT_NONE, tcg_gen_sub_tl, NULL); 529 return gen_shift_imm_fn_per_ol(ctx, a, EXT_NONE, 553 return gen_shift_imm_fn_per_ol(ctx, a, EXT_NONE, 742 return gen_arith(ctx, a, EXT_NONE, tcg_gen_add_tl, NULL); 916 TCGv src = get_gpr(ctx, a->rs1, EXT_NONE); [all …]
|
H A D | trans_xthead.c.inc | 93 TCGv src2 = get_gpr(ctx, rs2, EXT_NONE); 211 return gen_th_ff0(ctx, a, EXT_NONE); 314 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); 315 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE); 316 TCGv old = get_gpr(ctx, a->rd, EXT_NONE); 485 TCGv src0 = get_gpr(ctx, a->rd, EXT_NONE); 486 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); 569 TCGv rs1 = get_gpr(ctx, a->rs1, EXT_NONE); 588 TCGv data = get_gpr(ctx, a->rd, EXT_NONE); 589 TCGv rs1 = get_gpr(ctx, a->rs1, EXT_NONE); [all …]
|
H A D | trans_rvzacas.c.inc | 117 TCGv_i64 src2l = get_gpr(ctx, a->rs2, EXT_NONE); 118 TCGv_i64 src2h = get_gpr(ctx, a->rs2 == 0 ? 0 : a->rs2 + 1, EXT_NONE); 119 TCGv_i64 destl = get_gpr(ctx, a->rd, EXT_NONE); 120 TCGv_i64 desth = get_gpr(ctx, a->rd == 0 ? 0 : a->rd + 1, EXT_NONE);
|
H A D | trans_rvh.c.inc | 45 TCGv addr = get_gpr(ctx, a->rs1, EXT_NONE); 56 TCGv addr = get_gpr(ctx, a->rs1, EXT_NONE); 57 TCGv data = get_gpr(ctx, a->rs2, EXT_NONE);
|
H A D | trans_rvm.c.inc | 68 return gen_arith(ctx, a, EXT_NONE, tcg_gen_mul_tl, gen_mul_i128); 150 return gen_arith_per_ol(ctx, a, EXT_NONE, gen_mulhsu, gen_mulhsu_w, 327 return gen_arith(ctx, a, EXT_NONE, tcg_gen_mul_tl, NULL);
|
H A D | trans_rvzfa.c.inc | 425 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); 426 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE);
|
H A D | trans_rva.c.inc | 73 src2 = get_gpr(ctx, a->rs2, EXT_NONE);
|
H A D | trans_rvzfh.c.inc | 52 t0 = get_gpr(ctx, a->rs1, EXT_NONE); 75 t0 = get_gpr(ctx, a->rs1, EXT_NONE);
|
/openbmc/qemu/target/riscv/ |
H A D | translate.c | 54 EXT_NONE, enumerator 333 case EXT_NONE: in get_gpr() 583 TCGv src1 = get_gpr(ctx, rs1, EXT_NONE); in get_address() 602 TCGv src1 = get_gpr(ctx, rs1, EXT_NONE); in get_address_indexed() 806 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); in gen_logic_imm_fn() 827 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE); in gen_logic() 828 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE); in gen_logic() 1011 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE); in gen_shift() 1085 TCGv src1, src2 = get_gpr(ctx, a->rs2, EXT_NONE); in gen_amo() 1104 TCGv dest = get_gpr(ctx, a->rd, EXT_NONE); in gen_cmpxchg() [all …]
|
/openbmc/qemu/target/loongarch/ |
H A D | translate.h | 35 EXT_NONE, enumerator
|
/openbmc/qemu/target/loongarch/tcg/ |
H A D | translate.c | 180 case EXT_NONE: in gpr_src() 206 case EXT_NONE: in gen_set_gpr()
|