-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Couple small optimizations for genLclHeap:
1. When not required to zero the allocated space for local heap (for sizes up to 64 bytes) do not zero. 2. For sizes less than one PAGE_SIZE and when the size is an encodable offset use ldp tmpReg, xzr, [sp], #-amount that does probing at [sp] and allocates the space at the same time. 3. Allow non-loop zeroing (i.e. unrolled sequence) for sizes up to 128 bytes (i.e. up to LCLHEAP_UNROLL_LIMIT) 4. Do such zeroing in ascending order of effective address.
- Loading branch information
Showing
2 changed files
with
54 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters