I can’t understand why we have LzmaF86Compress.bat that gets copied by the 
nmake file.

BaseTools/Conf/tools_def.template
*_*_*_LZMAF86_PATH         = LzmaF86Compress

It would work for all toolchains if we did this:
*_*_*_LZMAF86_FLAGS        = --f86
*_*_*_LZMAF86_PATH           = LzmaCompress

I tried it with Xcode (clang should work this way too) and it saved about 4.65% 
in DXE FV and 1% in the PEI FV. 

I also noticed for a very small size penalty you could support 
gLzmaF86CustomDecompressGuid and gLzmaCustomDecompressGuid at the same time. 
Most of the code is common and LzmaF86 just calls x86_Convert_Init() and 
x86_Convert() to post process the buffer. 

Thanks,

Andrew Fish
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#61503): https://edk2.groups.io/g/devel/message/61503
Mute This Topic: https://groups.io/mt/74966285/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to