Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yroux
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
yroux
6y ago
Yes I agree, that's why function outlining is used for hot/cold splitting and partial inlining, in our case Machine Outlining is really dedicated to code size reduction.
2.
▲
by
yroux
6y ago
Well, the examples are simplified to present the concept of outlining. In the first example calc_X and OUTLINED_FUNCTION_0 are functions and not basic blocks, thus they are not guaranteed to placed in that order, but I agree, if they were c
3.
▲
by
yroux
6y ago
Yes that's it, I wanted to put the focus on code size but maybe I should have said a word about performance as well. I replied to the speed question in a previous comment, but can put it here as well, I don't have exact numbers to
4.
▲
by
yroux
6y ago
The focus is code size, but in terms of performance I don't have numbers to report but on average you can expect a regression around 2%, but it will depend of call latency of core and is also impacted by cache effects, so in some cases
5.
▲
by
yroux
6y ago
The focus is pure code size reduction here and it doesn't look at the cache locality or performance which might be improved if the size reduction avoids some i-cache misses or not but that's a price to pay.