Hi all:
 In Tiny Code Generator for Mips target ,  "INDEX_op_goto_tb ( arg[0])  "
will be translated to
"
           tcg_out_movi(s, TCG_TYPE_PTR, TCG_REG_AT,
(tcg_target_long)(s->tb_next + args[0]));
            tcg_out_ld(s, TCG_TYPE_PTR, TCG_REG_AT, TCG_REG_AT, 0);
            tcg_out_opc_reg(s, OPC_JR, 0, TCG_REG_AT, 0);
"
I think the code means   load the value of " s->tb_next[arg[0]] " ,  then
jump to the address(value) .
After  search all source code in Qemu , I can't find any code to assign
value to the   tb_next .  the tb_next seem

So, who can tell me where the s->tb_next[args[0]]  point ? where  tb_next is
assigned value?

Thanks very much for any help .
By the way ,  you can give answer basing on any target machine except mips
target.

Reply via email to