Attention is currently required from: Martin L Roth, Zheng Bao, Martin Roth, Felix Held.
Hello build bot (Jenkins), Zheng Bao,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/66392
to look at the new patch set (#13).
Change subject: lib/lzma: Build the source for decompression with flag -Ofast ......................................................................
lib/lzma: Build the source for decompression with flag -Ofast
The decompression is critical for speed of boot. So we sacrifice some generated code size to optimize for speed.
BUG=b:223985641 TEST=Majolica
The output of time stamp for decompression: Time Stamp Flag:Os Flag:Ofast ------------------------------------------------------------- Load FSP-M 15: starting LZMA decompress 320540 (10) 318991 (10) 16: finished LZMA decompress 383086 (62546) 381986 (62995) Load ramstage 15: starting LZMA decompress 620311 (5) 617301 (5) 16: finished LZMA decompress 640750 (20439) 639585 (22284) Load Payload: 15: starting LZMA decompress 848055 (27) 846713 (26) 16: finished LZMA decompress 858007 (9952) 857356 (10643)
(Output by "objdump -h ./build/ramstage/lib/lzmadecode.o") The size of object file with -Os: ./build/ramstage/lib/lzmadecode.o: file format elf32-i386 4 .text.LzmaDecode 00000d84 00000000 00000000 00000076 2**0 CONTENTS, ALLOC, LOAD, READONLY, CODE The size of object file with -Ofast: ./build/ramstage/lib/lzmadecode.o: file format elf32-i386 4 .text.LzmaDecode 00001719 00000000 00000000 00000080 2**4 CONTENTS, ALLOC, LOAD, READONLY, CODE
Change-Id: Ie003164e2e93ba8ed3ccd207f3af31c6acf1c5e2 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/lib/Kconfig M src/lib/lzmadecode.c 2 files changed, 53 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/66392/13