diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-10 13:50:53 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-10-10 13:50:53 +0200 |
commit | 53b2fdcdba4ced600da963147be425a21d0f6e53 (patch) | |
tree | 6ff4eb40af61e978fc35fc320a10e0c012993bba /miscutils/bc.c | |
parent | 5156b245536ce0f07165793f07c63fd9fa5dd3b7 (diff) | |
download | busybox-w32-53b2fdcdba4ced600da963147be425a21d0f6e53.tar.gz busybox-w32-53b2fdcdba4ced600da963147be425a21d0f6e53.tar.bz2 busybox-w32-53b2fdcdba4ced600da963147be425a21d0f6e53.zip |
*: add NOINLINEs where code noticeably shrinks
function old new delta
display 85 1463 +1378 -73 bytes
select_and_cluster - 1088 +1088 -139 bytes
parse_reply - 979 +979 -109 bytes
zbc_num_sqrt - 632 +632 -191 bytes
show_bridge_port - 585 +585 -56 bytes
sp_256_proj_point_add_8 - 576 +576 -45 bytes
encode_then_append_var_plusminus - 554 +554 -118 bytes
read_mode_db - 537 +537 -47 bytes
fbset_main 1331 747 -584
sp_256_ecc_mulmod_8 1157 536 -621
brctl_main 2189 1548 -641
expand_one_var 2544 1872 -672
zxc_vm_process 6412 5589 -823
send_queries 1813 725 -1088
recv_and_process_peer_pkt 2245 1018 -1227
bb_dump_dump 1531 80 -1451
------------------------------------------------------------------------------
(add/remove: 7/0 grow/shrink: 1/8 up/down: 6329/-7107) Total: -778 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r-- | miscutils/bc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c index f9b08b01e..ae370ff55 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c | |||
@@ -2261,7 +2261,7 @@ static FAST_FUNC BC_STATUS zbc_num_p(BcNum *a, BcNum *b, BcNum *restrict c, size | |||
2261 | } | 2261 | } |
2262 | #define zbc_num_p(...) (zbc_num_p(__VA_ARGS__) COMMA_SUCCESS) | 2262 | #define zbc_num_p(...) (zbc_num_p(__VA_ARGS__) COMMA_SUCCESS) |
2263 | 2263 | ||
2264 | static BC_STATUS zbc_num_sqrt(BcNum *a, BcNum *restrict b, size_t scale) | 2264 | static NOINLINE BC_STATUS zbc_num_sqrt(BcNum *a, BcNum *restrict b, size_t scale) |
2265 | { | 2265 | { |
2266 | BcStatus s; | 2266 | BcStatus s; |
2267 | BcNum num1, num2, half, f, fprime, *x0, *x1, *temp; | 2267 | BcNum num1, num2, half, f, fprime, *x0, *x1, *temp; |