Lines Matching refs:pred
41 TCGv gen_read_preg(TCGv pred, uint8_t num) in gen_read_preg() argument
43 tcg_gen_mov_tl(pred, hex_pred[num]); in gen_read_preg()
44 return pred; in gen_read_preg()
133 TCGv pred = get_result_pred(ctx, pnum); in gen_log_pred_write() local
146 tcg_gen_mov_tl(pred, base_val); in gen_log_pred_write()
148 tcg_gen_and_tl(pred, pred, base_val); in gen_log_pred_write()
345 TCGv pred, TCGv vaddr, TCGv src) in gen_store_conditional4() argument
358 tcg_gen_movcond_tl(TCG_COND_EQ, pred, tmp, hex_llsc_val, in gen_store_conditional4()
363 tcg_gen_movi_tl(pred, 0); in gen_store_conditional4()
370 TCGv pred, TCGv vaddr, TCGv_i64 src) in gen_store_conditional8() argument
385 tcg_gen_extrl_i64_i32(pred, tmp); in gen_store_conditional8()
389 tcg_gen_movi_tl(pred, 0); in gen_store_conditional8()
466 TCGCond cond, TCGv pred) in gen_write_new_pc_addr() argument
471 tcg_gen_brcondi_tl(cond, pred, 0, pred_false); in gen_write_new_pc_addr()
490 TCGCond cond, TCGv pred) in gen_write_new_pc_pcrel() argument
494 gen_write_new_pc_addr(ctx, tcg_constant_tl(dest), cond, pred); in gen_write_new_pc_pcrel()
498 if (pred != NULL) { in gen_write_new_pc_pcrel()
500 tcg_gen_mov_tl(ctx->branch_taken, pred); in gen_write_new_pc_pcrel()
588 TCGCond cond, TCGv pred) in gen_cond_jumpr() argument
590 gen_write_new_pc_addr(ctx, dst_pc, cond, pred); in gen_cond_jumpr()
593 static void gen_cond_jumpr31(DisasContext *ctx, TCGCond cond, TCGv pred) in gen_cond_jumpr31() argument
596 tcg_gen_andi_tl(LSB, pred, 1); in gen_cond_jumpr31()
600 static void gen_cond_jump(DisasContext *ctx, TCGCond cond, TCGv pred, in gen_cond_jump() argument
603 gen_write_new_pc_pcrel(ctx, pc_off, cond, pred); in gen_cond_jump()
611 TCGv pred = tcg_temp_new(); in gen_cmpnd_cmp_jmp() local
612 gen_compare(cond1, pred, arg1, arg2); in gen_cmpnd_cmp_jmp()
613 gen_log_pred_write(ctx, pnum, pred); in gen_cmpnd_cmp_jmp()
615 TCGv pred = tcg_temp_new(); in gen_cmpnd_cmp_jmp() local
616 tcg_gen_mov_tl(pred, ctx->new_pred_value[pnum]); in gen_cmpnd_cmp_jmp()
617 gen_cond_jump(ctx, cond2, pred, pc_off); in gen_cmpnd_cmp_jmp()
667 TCGv pred = tcg_temp_new(); in gen_cmpnd_tstbit0_jmp() local
668 tcg_gen_andi_tl(pred, arg, 1); in gen_cmpnd_tstbit0_jmp()
669 gen_8bitsof(pred, pred); in gen_cmpnd_tstbit0_jmp()
670 gen_log_pred_write(ctx, pnum, pred); in gen_cmpnd_tstbit0_jmp()
672 TCGv pred = tcg_temp_new(); in gen_cmpnd_tstbit0_jmp() local
673 tcg_gen_mov_tl(pred, ctx->new_pred_value[pnum]); in gen_cmpnd_tstbit0_jmp()
674 gen_cond_jump(ctx, cond, pred, pc_off); in gen_cmpnd_tstbit0_jmp()
681 TCGv pred = tcg_temp_new(); in gen_testbit0_jumpnv() local
682 tcg_gen_andi_tl(pred, arg, 1); in gen_testbit0_jumpnv()
683 gen_cond_jump(ctx, cond, pred, pc_off); in gen_testbit0_jumpnv()
710 static void gen_cond_call(DisasContext *ctx, TCGv pred, in gen_cond_call() argument
716 tcg_gen_andi_tl(lsb, pred, 1); in gen_cond_call()
724 TCGCond cond, TCGv pred, TCGv new_pc) in gen_cond_callr() argument
728 tcg_gen_andi_tl(lsb, pred, 1); in gen_cond_callr()
819 TCGv pred, TCGCond cond) in gen_cond_return() argument
823 tcg_gen_andi_tl(LSB, pred, 1); in gen_cond_return()
831 static void gen_cond_return_subinsn(DisasContext *ctx, TCGCond cond, TCGv pred) in gen_cond_return_subinsn() argument
834 gen_cond_return(ctx, RddV, hex_gpr[HEX_REG_FP], pred, cond); in gen_cond_return_subinsn()
971 TCGv pred = tcg_temp_new(); in gen_cmp_jumpnv() local
972 tcg_gen_setcond_tl(cond, pred, val, src); in gen_cmp_jumpnv()
973 gen_cond_jump(ctx, TCG_COND_EQ, pred, pc_off); in gen_cmp_jumpnv()
979 TCGv pred = tcg_temp_new(); in gen_cmpi_jumpnv() local
980 tcg_gen_setcondi_tl(cond, pred, val, src); in gen_cmpi_jumpnv()
981 gen_cond_jump(ctx, TCG_COND_EQ, pred, pc_off); in gen_cmpi_jumpnv()