*: add more beneficial NOINLINEs
function old new delta dec_main - 1729 +1729 -41 bytes fallbackQSort3 - 671 +671 -70 bytes verify_sun - 481 +481 -107 bytes verify 1330 742 -588 fallbackSort 1469 728 -741 unpack_xz_stream 2306 536 -1770 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 0/3 up/down: 2881/-3099) Total: -218 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
		| @@ -107,7 +107,7 @@ void fallbackSimpleSort(uint32_t* fmap, | ||||
| #define FALLBACK_QSORT_SMALL_THRESH 10 | ||||
| #define FALLBACK_QSORT_STACK_SIZE   100 | ||||
|  | ||||
| static | ||||
| static NOINLINE | ||||
| void fallbackQSort3(uint32_t* fmap, | ||||
| 		uint32_t* eclass, | ||||
| 		int32_t   loSt, | ||||
|   | ||||
| @@ -545,7 +545,7 @@ static enum xz_ret XZ_FUNC dec_block_header(struct xz_dec *s) | ||||
| 	return XZ_OK; | ||||
| } | ||||
|  | ||||
| static enum xz_ret XZ_FUNC dec_main(struct xz_dec *s, struct xz_buf *b) | ||||
| static NOINLINE enum xz_ret XZ_FUNC dec_main(struct xz_dec *s, struct xz_buf *b) | ||||
| { | ||||
| 	enum xz_ret ret; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user