Lines Matching refs:a
17 * You should have received a copy of the GNU General Public License along with
65 static bool trans_mul(DisasContext *ctx, arg_mul *a)
68 return gen_arith(ctx, a, EXT_NONE, tcg_gen_mul_tl, gen_mul_i128);
103 static bool trans_mulh(DisasContext *ctx, arg_mulh *a)
106 return gen_arith_per_ol(ctx, a, EXT_SIGN, gen_mulh, gen_mulh_w,
147 static bool trans_mulhsu(DisasContext *ctx, arg_mulhsu *a)
150 return gen_arith_per_ol(ctx, a, EXT_NONE, gen_mulhsu, gen_mulhsu_w,
161 static bool trans_mulhu(DisasContext *ctx, arg_mulhu *a)
165 return gen_arith_per_ol(ctx, a, EXT_ZERO, gen_mulhu, gen_mulh_w,
206 static bool trans_div(DisasContext *ctx, arg_div *a)
209 return gen_arith(ctx, a, EXT_SIGN, gen_div, gen_div_i128);
238 static bool trans_divu(DisasContext *ctx, arg_divu *a)
241 return gen_arith(ctx, a, EXT_ZERO, gen_divu, gen_divu_i128);
264 * This avoids a possible host trap, and produces the required result of 0.
273 * This avoids a possible host trap, but produces an incorrect result.
283 static bool trans_rem(DisasContext *ctx, arg_rem *a)
286 return gen_arith(ctx, a, EXT_SIGN, gen_rem, gen_rem_i128);
306 * This avoids a possible host trap, but produces an incorrect result.
316 static bool trans_remu(DisasContext *ctx, arg_remu *a)
319 return gen_arith(ctx, a, EXT_ZERO, gen_remu, gen_remu_i128);
322 static bool trans_mulw(DisasContext *ctx, arg_mulw *a)
327 return gen_arith(ctx, a, EXT_NONE, tcg_gen_mul_tl, NULL);
330 static bool trans_divw(DisasContext *ctx, arg_divw *a)
335 return gen_arith(ctx, a, EXT_SIGN, gen_div, NULL);
338 static bool trans_divuw(DisasContext *ctx, arg_divuw *a)
343 return gen_arith(ctx, a, EXT_ZERO, gen_divu, NULL);
346 static bool trans_remw(DisasContext *ctx, arg_remw *a)
351 return gen_arith(ctx, a, EXT_SIGN, gen_rem, NULL);
354 static bool trans_remuw(DisasContext *ctx, arg_remuw *a)
359 return gen_arith(ctx, a, EXT_ZERO, gen_remu, NULL);
362 static bool trans_muld(DisasContext *ctx, arg_muld *a)
367 return gen_arith(ctx, a, EXT_SIGN, tcg_gen_mul_tl, NULL);
370 static bool trans_divd(DisasContext *ctx, arg_divd *a)
375 return gen_arith(ctx, a, EXT_SIGN, gen_div, NULL);
378 static bool trans_divud(DisasContext *ctx, arg_divud *a)
383 return gen_arith(ctx, a, EXT_ZERO, gen_divu, NULL);
386 static bool trans_remd(DisasContext *ctx, arg_remd *a)
391 return gen_arith(ctx, a, EXT_SIGN, gen_rem, NULL);
394 static bool trans_remud(DisasContext *ctx, arg_remud *a)
399 return gen_arith(ctx, a, EXT_ZERO, gen_remu, NULL);