Support allocation of huge stack frame(>2g) on PPC64.
For ELFv2 ABI on Linux, quoted from the spec 2.2.3.1 General Stack Frame Requirements
There is no maximum stack frame size defined.
On AIX, XL allows such huge frame.
Differential D107886
[PowerPC] Support huge frame size for PPC64 lkail on Aug 11 2021, 12:38 AM. Authored by
Details
Diff Detail
Event TimelineComment Actions Do we have a practical requirement for such a thing? At the very least, I believe we will need code in FI elimination to handle these absurd frame sizes and the test case should show accesses to the stack both before and after the huge allocation. Comment Actions I'm still testing the patch with variant workloads to insure corner cases are handled correctly. Comment Actions Tested it with test-suite and other benchmarks on AIX and Linux, no regression found.
Comment Actions This LGTM. Let's wait for @nemanjai 's comments/approval since he requested change to this patch. |