Lines Matching refs:a

13 static bool trans_##name(DisasContext *ctx, arg_##name * a)  \
190 static bool trans_csrrd(DisasContext *ctx, arg_csrrd *a)
198 csr = get_csr(a->csr);
204 dest = gpr_dst(ctx, a->rd, EXT_NONE);
211 gen_set_gpr(a->rd, dest, EXT_NONE);
215 static bool trans_csrwr(DisasContext *ctx, arg_csrwr *a)
223 csr = get_csr(a->csr);
226 gen_set_gpr(a->rd, tcg_constant_tl(0), 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);
246 static bool trans_csrxchg(DisasContext *ctx, arg_csrxchg *a)
254 csr = get_csr(a->csr);
257 gen_set_gpr(a->rd, tcg_constant_tl(0), 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);
289 static bool gen_iocsrrd(DisasContext *ctx, arg_rr *a,
292 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE);
293 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
302 static bool gen_iocsrwr(DisasContext *ctx, arg_rr *a,
305 TCGv val = gpr_src(ctx, a->rd, EXT_NONE);
306 TCGv addr = gpr_src(ctx, a->rj, EXT_NONE);
332 static bool trans_tlbsrch(DisasContext *ctx, arg_tlbsrch *a)
341 static bool trans_tlbrd(DisasContext *ctx, arg_tlbrd *a)
350 static bool trans_tlbwr(DisasContext *ctx, arg_tlbwr *a)
360 static bool trans_tlbfill(DisasContext *ctx, arg_tlbfill *a)
370 static bool trans_tlbclr(DisasContext *ctx, arg_tlbclr *a)
380 static bool trans_tlbflush(DisasContext *ctx, arg_tlbflush *a)
390 static bool trans_invtlb(DisasContext *ctx, arg_invtlb *a)
392 TCGv rj = gpr_src(ctx, a->rj, EXT_NONE);
393 TCGv rk = gpr_src(ctx, a->rk, EXT_NONE);
399 switch (a->imm) {
426 static bool trans_cacop(DisasContext *ctx, arg_cacop *a)
428 /* Treat the cacop as a nop */
435 static bool trans_ldpte(DisasContext *ctx, arg_ldpte *a)
438 TCGv src1 = gpr_src(ctx, a->rj, EXT_NONE);
447 gen_helper_ldpte(tcg_env, src1, tcg_constant_tl(a->imm), mem_idx);
451 static bool trans_lddir(DisasContext *ctx, arg_lddir *a)
454 TCGv src = gpr_src(ctx, a->rj, EXT_NONE);
455 TCGv dest = gpr_dst(ctx, a->rd, EXT_NONE);
464 gen_helper_lddir(dest, tcg_env, src, tcg_constant_tl(a->imm), mem_idx);
468 static bool trans_ertn(DisasContext *ctx, arg_ertn *a)
478 static bool trans_dbcl(DisasContext *ctx, arg_dbcl *a)
487 static bool trans_idle(DisasContext *ctx, arg_idle *a)