Skip to content

tcg: Add support for constant value promises

Lluís Vilanova qemu-devel 1 version In review

Get series with b4
b4 am 145287209895.25408.12995870835200275306.stgit@localhost

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2tcg: Add support for constant value promisestcg/tcg-op.h tcg/tcg.c tcg/tcg.h+51 -06 replies
2/2gen-icount: Use constant value promisesinclude/exec/gen-icount.h+3 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH v1 0/2] tcg: Add support for constant value promises

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).

---

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: [email protected]
Cc: Edgar E. Iglesias <[email protected]>
Cc: [email protected]
Cc: [email protected]