tcg: Vary the allocation size for TCGOp
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 18 Dec 2022 21:18:32 +0000 (22:18 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:29 +0000 (11:41 -0800)
commitcb10bc63b70737eafaceac1bf1d97730ce6d3393
tree862d1d2a6059143f2153522f02f557e46e3bf1d8
parentd44789434bbf51bb4d4a3402066d281fa0efc88c
tcg: Vary the allocation size for TCGOp

We have been allocating a worst case number of arguments
to support calls.  Instead, allow the size to vary.
By default leave space for 4 args, to maximize reuse,
but allow calls to increase the number of args to 32.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
[PMD: Split patch in two]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221218211832.73312-3-philmd@linaro.org>
accel/tcg/plugin-gen.c
include/exec/helper-head.h
include/tcg/tcg.h
tcg/tcg.c