[coreboot] Thoughts or conclusions on coreboot and link time optimization (LTO)?

Paul Menzel paulepanter at users.sourceforge.net
Thu Apr 24 23:56:39 CEST 2014

Dear coreboot folks,

Am Donnerstag, den 24.04.2014, 23:39 +0200 schrieb Paul Menzel:

> in #coreboot on <irc.freenode.net> Stefan mentioned that link time
> optimization (LTO) [1] might yield some speed improvements for coreboot
> as the resulting firmware image might be smaller and therefore it takes
> less time to read it from flash.
> As LTO has been greatly improved in GCC 4.9.0 and is all over the news,
> has somebody already experimented with LTO or created patches or tools
> for testing?
> Is somebody able to share conclusions already? That’d be very
> interesting.

looking further in April and May 2011 Scott Duplichan even sent a patch
to add an option to enable LTO [2][3], but unfortunately it was not

Back then on AMD Persimmon with SeaBIOS as payload the boot time was
reduced from 690 ms to 640 ms. (Fun fact: UEFI firmware took 10 s on
that board.)



> [1] http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html
>     (search for `lto`)
[2] http://www.coreboot.org/pipermail/coreboot/2011-April/064859.html
[3] http://www.coreboot.org/pipermail/coreboot/2011-May/064874.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20140424/091149c3/attachment.asc>

More information about the coreboot mailing list