]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg-pool.inc.c
tcg: Infrastructure for managing constant pools
authorRichard Henderson <rth@twiddle.net>
Sun, 30 Jul 2017 20:13:21 +0000 (13:13 -0700)
committerRichard Henderson <rth@twiddle.net>
Thu, 7 Sep 2017 18:57:35 +0000 (11:57 -0700)
commit57a269469dbf70013dab3a176e1735636010a772
tree1ff2db5b5d660b3ef87e7fd106aba052c222bfb9
parent659ef5cbb893872d25e9d95191cc23b16546c8a1
tcg: Infrastructure for managing constant pools

A new shared header tcg-pool.inc.c adds new_pool_label,
for registering a tcg_target_ulong to be emitted after
the generated code, plus relocation data to install a
pointer to the data.

A new pointer is added to the TCGContext, so that we
dump the constant pool as data, not code.

Signed-off-by: Richard Henderson <rth@twiddle.net>
accel/tcg/translate-all.c
tcg/tcg-pool.inc.c [new file with mode: 0644]
tcg/tcg.c
tcg/tcg.h