OSDN Git Service

tcg/tci: Restrict TCG_TARGET_NB_REGS to 16
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 29 Jan 2021 00:54:16 +0000 (14:54 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 5 Feb 2021 20:24:14 +0000 (10:24 -1000)
commit187f44d9da0ca8ac08451f03f62b259080596570
tree690efddf00e1b64d7b373d78c55ef37728317142
parentf6ff97ab565d4aa779ae3e07e8c5f13e7495a005
tcg/tci: Restrict TCG_TARGET_NB_REGS to 16

As noted in several comments, 8 regs is not enough for 32-bit
to perform calls, as currently implemented.  Shortly, we will
rearrange the encoding which will make 32 regs impossible.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci/tcg-target.c.inc
tcg/tci/tcg-target.h