]> xenbits.xensource.com Git - qemu-xen.git/commit
tcg: Restart code generation when we run out of temps
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Jan 2021 22:11:17 +0000 (12:11 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 24 Jan 2021 18:03:27 +0000 (08:03 -1000)
commitae30e86661b0f48562cd95918d37cbeec5d02262
treebd84c59f604bae6c128f02b06b4607433a13d2df
parent653b87eb36045b506b79f0bb433016ef1c54bc9a
tcg: Restart code generation when we run out of temps

Some large translation blocks can generate so many unique
constants that we run out of temps to hold them.  In this
case, longjmp back to the start of code generation and
restart with a smaller translation block.

Buglink: https://bugs.launchpad.net/bugs/1912065
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/translate-all.c
include/tcg/tcg.h
tcg/tcg.c