A TCG constant value promise allows creating TCG code that works with a constant
whose value is not known until after the code has been generated (e.g., a count
of the instructions in a basic block).

This interface isolates the details of TCG code generation from the code that
needs this feature (e.g., in gen_icount).


Signed-off-by: Lluís Vilanova <vilan...@ac.upc.edu>
---

Lluís Vilanova (2):
      tcg: Add support for constant value promises
      gen-icount: Use constant value promises


 include/exec/gen-icount.h |    8 +++-----
 tcg/tcg-op.h              |    6 ++++++
 tcg/tcg.c                 |   33 +++++++++++++++++++++++++++++++++
 tcg/tcg.h                 |   12 ++++++++++++
 4 files changed, 54 insertions(+), 5 deletions(-)


To: qemu-devel@nongnu.org
Cc: Edgar E. Iglesias <edgar.igles...@gmail.com>
Cc: peter.mayd...@linaro.org
Cc: r...@twiddle.net

Reply via email to