study qemu code: tcg_reg_alloc_op(): 1708
- what is fixed_reg TCGemp
- in tcg_global_reg_new_internal, fixed_reg is set 1
- in tcg_global_mem_new_internal, fixed_reg is set 0
- so, it seems it indicates whether this temp is register or not
- In TCGContext, what is reg_to_temp?
- in tcg_reg_alloc(), s->reg_to_temp[reg] decides whether the HOST register is mapped to any TCGTemp.
- So I think, reg_to_temp indicates current HOST reg represents reg_to_temp[reg].
- What is val_type in TCGTemp?
- NOT CLEAR
- It seems it indicates the current type of this temp.
- It is possible that ts->fixed_reg && ts->val_type == TEMP_VAL_MEM; or NOT ts->fixed_reg and ts->val_type == TEMP_VAL_REG.
- When does TCGArgDef args_ct set?
沒有留言:
張貼留言