]> git.ipfire.org Git - thirdparty/zstd.git/commit
force inlining of HUF_decodeSymbol*() functions
authorYann Collet <cyan@fb.com>
Thu, 1 Mar 2018 19:28:42 +0000 (11:28 -0800)
committerYann Collet <cyan@fb.com>
Thu, 1 Mar 2018 19:31:45 +0000 (11:31 -0800)
commitb01552a07ae20b5ed28fdb2084dbe9dadd1a6d9a
treedae17cfb7b50fedc4a6fe9ff70f98157e9cdc191
parent564cb1b640c753160b6655d95bae62d1f03f7781
force inlining of HUF_decodeSymbol*() functions

which was not done properly by gcc 4.8
resulting in major performance difference.

ex :
zstd -b1 silesia.tar
before : dec 680 MB/s
after  : dec 710 MB/s  (without bmi2)
after  : dec 770 MB/s  (with DYNAMIC_BMI2)
lib/decompress/huf_decompress.c