[PATCH v2 0/3] tcg: Fixes for temp_allocate_frame

Richard Henderson posted 3 patches 2 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210619134216.590423-1-richard.henderson@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c                  | 45 ++++++++++++++++++++++++++++----------
tcg/sparc/tcg-target.c.inc | 16 +++++++++-----
2 files changed, 44 insertions(+), 17 deletions(-)
[PATCH v2 0/3] tcg: Fixes for temp_allocate_frame
Posted by Richard Henderson 2 years, 10 months ago
Yay! Is works for purpose.  Couple of tweaks:

  * Use fixed 16 as alignment for TCG_TYPE_V32.  Just an itsy bit
    of future-proofing against any host that has a stack frame
    aligned larger than 32.

  * We now have the ability to restart translation when exhausting
    resources.  Do that when exhausting the stack frame.


r~


Richard Henderson (3):
  tcg/sparc: Fix temp_allocate_frame vs sparc stack bias
  tcg: Allocate sufficient storage in temp_allocate_frame
  tcg: Restart when exhausting the stack frame

 tcg/tcg.c                  | 45 ++++++++++++++++++++++++++++----------
 tcg/sparc/tcg-target.c.inc | 16 +++++++++-----
 2 files changed, 44 insertions(+), 17 deletions(-)

-- 
2.25.1