Re: [Qemu-devel] [PATCH 2.3 0/8] Linked list for tcg ops

2015-01-03 Thread Paolo Bonzini
On 11/11/2014 17:24, Richard Henderson wrote: > Currently tcg ops are simply placed in a buffer in order. Which is > fine until we want to actually do something with the opcode stream, > such as optimize them. Note the horrible things like call opcodes > needing their argument count both prefix

Re: [Qemu-devel] [PATCH 2.3 0/8] Linked list for tcg ops

2014-11-14 Thread Bastian Koppelmann
On 11/11/2014 04:24 PM, Richard Henderson wrote: Richard Henderson (8): tcg: Move some opcode generation functions out of line tcg: Reduce ifdefs in tcg-op.c tcg: Move emit of INDEX_op_end into gen_tb_end tcg: Introduce tcg_op_buf_count and tcg_op_buf_full tcg: Put opcodes in a li

[Qemu-devel] [PATCH 2.3 0/8] Linked list for tcg ops

2014-11-11 Thread Richard Henderson
Currently tcg ops are simply placed in a buffer in order. Which is fine until we want to actually do something with the opcode stream, such as optimize them. Note the horrible things like call opcodes needing their argument count both prefixed and postfixed so that we can iterate across the call