-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Description
We originally switched to CDECL because of concerns that the stack growth check was going to require more registers than were available under the fastcall convention. It turns out that LLVM optimizes unexported functions to fastcall (and disabling that behavior is not straightforward) so we had to support stack growth with fastcall anyway. The only time we actually have to spill the stack growth check onto the stack is on i386 OS X where the fastcall frame size is greater than 256 bytes. Not using fastcall because of that is potentially a big price to pay.
Metadata
Metadata
Assignees
Labels
A-codegenArea: Code generationArea: Code generationI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.