On 05/23/2015 05:26 AM, 浩倫 魏 wrote:
So there are some points that I hope you can help me out:
1. Is every guest load/store instruction would be translated to qemu_ld/st IR?

Yes.

2. What about another TCG IR "ld/st"? What kind of guest instructions would
cause TCG generates that IRs and for what purpose?

For instance, vector instructions are often implemented without TCG temporaries, but instead using ld/st to load the data from the ENV pointer directly. You can see that in the ARM and i386 targets.

Otherwise, there are sometimes less-used system values that do not warrent a TCG temporary. You can see that in the alpha target.


r~

Reply via email to