Home | History | Annotate | Download | only in arm

Lines Matching defs:val

186 static inline int tcg_target_const_match(tcg_target_long val,
688 int32_t val;
690 val = addr - (tcg_target_long) s->code_ptr;
691 if (val - 8 < 0x01fffffd && val - 8 > -0x01fffffd)
692 tcg_out_b(s, cond, val);
701 tcg_out_movi32(s, cond, TCG_REG_R8, val - 8);
711 int32_t val;
717 val = addr - (tcg_target_long) s->code_ptr;
718 if (val < 0x01fffffd && val > -0x01fffffd)
719 tcg_out_bl(s, cond, val);
1570 void tcg_out_addi(TCGContext *s, int reg, tcg_target_long val)
1572 if (val > 0)
1573 if (val < 0x100)
1574 tcg_out_dat_imm(s, COND_AL, ARITH_ADD, reg, reg, val);
1577 else if (val < 0) {
1578 if (val > -0x100)
1579 tcg_out_dat_imm(s, COND_AL, ARITH_SUB, reg, reg, -val);