canmove, Confirmed users
1,577
edits
(add note about baseline compiler) |
(add note about -finline-limit) |
||
Line 17: | Line 17: | ||
</td> | </td> | ||
</tr> | |||
<tr> | |||
<td>gcc 4.2.1 (-Os -freorder-blocks -fno-reorder-functions -finline-limit=50)</td> | |||
<td> | |||
Note the use of -finline-limit=n. This will force many small functions and helpers to be inlined. (-O2 uses 600 as a value, for example.) On a 32-bit Linux build this results in: | |||
codesize saving of 225kb (2%)<br/> | |||
Ts win of 3%<br/> | |||
Txul win of 18%<br/> | |||
Tp2 win of about 25% (!)<br/> | |||
</td> | |||
</tr> | </tr> | ||
</table> | </table> | ||