Re: [patch, nios2] stack limit checking improvements

2015-07-15 Thread Sandra Loosemore
On 07/14/2015 01:31 PM, Sandra Loosemore wrote: 2015-07-14 Sandra Loosemore gcc/ * config/nios2/nios2.c (TEMP_REG_NUM): Move define up in file. (nios2_emit_stack_limit_check): Add size parameter. Handle -fstack-limit-symbol as well as -fstack-limit-register.

[patch, nios2] stack limit checking improvements

2015-07-14 Thread Sandra Loosemore
In preparation for some other changes to the Nios II prologue code that are in my queue, I've checked in the attached patch to the stack limit checking logic. With this patch, the check generation code now takes an offset so that the check can be emitted before the SP adjustment; this allows c