Lines Matching refs:a

15  * You should have received a copy of the GNU General Public License along with
34 static bool trans_c_zext_b(DisasContext *ctx, arg_c_zext_b *a)
37 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext8u_tl);
40 static bool trans_c_zext_h(DisasContext *ctx, arg_c_zext_h *a)
44 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext16u_tl);
47 static bool trans_c_sext_b(DisasContext *ctx, arg_c_sext_b *a)
51 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext8s_tl);
54 static bool trans_c_sext_h(DisasContext *ctx, arg_c_sext_h *a)
58 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext16s_tl);
61 static bool trans_c_zext_w(DisasContext *ctx, arg_c_zext_w *a)
66 return gen_unary(ctx, a, EXT_NONE, tcg_gen_ext32u_tl);
69 static bool trans_c_not(DisasContext *ctx, arg_c_not *a)
72 return gen_unary(ctx, a, EXT_NONE, tcg_gen_not_tl);
75 static bool trans_c_mul(DisasContext *ctx, arg_c_mul *a)
79 return gen_arith(ctx, a, EXT_NONE, tcg_gen_mul_tl, NULL);
82 static bool trans_c_lbu(DisasContext *ctx, arg_c_lbu *a)
85 return gen_load(ctx, a, MO_UB);
88 static bool trans_c_lhu(DisasContext *ctx, arg_c_lhu *a)
91 return gen_load(ctx, a, MO_UW);
94 static bool trans_c_lh(DisasContext *ctx, arg_c_lh *a)
97 return gen_load(ctx, a, MO_SW);
100 static bool trans_c_sb(DisasContext *ctx, arg_c_sb *a)
103 return gen_store(ctx, a, MO_UB);
106 static bool trans_c_sh(DisasContext *ctx, arg_c_sh *a)
109 return gen_store(ctx, a, MO_UW);
169 static bool gen_pop(DisasContext *ctx, arg_cmpp *a, bool ret, bool ret_val)
173 uint32_t reg_bitmap = decode_push_pop_list(ctx, a->urlist);
181 a->spimm;
214 static bool trans_cm_push(DisasContext *ctx, arg_cm_push *a)
218 uint32_t reg_bitmap = decode_push_pop_list(ctx, a->urlist);
226 a->spimm;
247 static bool trans_cm_pop(DisasContext *ctx, arg_cm_pop *a)
249 return gen_pop(ctx, a, false, false);
252 static bool trans_cm_popret(DisasContext *ctx, arg_cm_popret *a)
254 return gen_pop(ctx, a, true, false);
257 static bool trans_cm_popretz(DisasContext *ctx, arg_cm_popret *a)
259 return gen_pop(ctx, a, true, true);
262 static bool trans_cm_mva01s(DisasContext *ctx, arg_cm_mva01s *a)
266 TCGv src1 = get_gpr(ctx, a->rs1, EXT_NONE);
267 TCGv src2 = get_gpr(ctx, a->rs2, EXT_NONE);
275 static bool trans_cm_mvsa01(DisasContext *ctx, arg_cm_mvsa01 *a)
279 if (a->rs1 == a->rs2) {
286 gen_set_gpr(ctx, a->rs1, a0);
287 gen_set_gpr(ctx, a->rs2, a1);
292 static bool trans_cm_jalt(DisasContext *ctx, arg_cm_jalt *a)
303 gen_helper_cm_jalt(addr, tcg_env, tcg_constant_i32(a->index));
306 if (a->index >= 32) {