Re: [PATCH] Avoid frame pointer and stack realignment in AVX/AVX2 using fns if they don't touch sp/fp

2011-11-09 Thread Richard Henderson
On 11/07/2011 01:14 PM, Jakub Jelinek wrote: * function.h (requires_stack_frame_p): New prototype. * function.c (requires_stack_frame_p): No longer static. * config/i386/i386.c (ix86_finalize_stack_realign_flags): If stack_realign_fp was just a conservative guess for a

[PATCH] Avoid frame pointer and stack realignment in AVX/AVX2 using fns if they don't touch sp/fp

2011-11-07 Thread Jakub Jelinek
Hi! As I've mentioned during the weekend, currently all functions that use 32-byte vectors end up with frame pointer and stack realignment (except when they have some 32-byte aligned argument, but that means 9+ arguments, so quite unlikely). The stack realignment is there just in case, if