mirror of
https://github.com/facebook/zstd.git
synced 2025-10-17 00:07:08 -04:00
update decoder hot loop alignment
This seems to bring an additional ~+1.2% decompression speed on average across 10 compilers x 6 scenarios.
This commit is contained in:
parent
4d9caa4928
commit
6755baf940
@ -1161,6 +1161,8 @@ ZSTD_decompressSequences_body( ZSTD_DCtx* dctx,
|
|||||||
*
|
*
|
||||||
* https://gist.github.com/terrelln/9889fc06a423fd5ca6e99351564473f4
|
* https://gist.github.com/terrelln/9889fc06a423fd5ca6e99351564473f4
|
||||||
*/
|
*/
|
||||||
|
__asm__(".p2align 6");
|
||||||
|
__asm__("nop");
|
||||||
__asm__(".p2align 5");
|
__asm__(".p2align 5");
|
||||||
__asm__("nop");
|
__asm__("nop");
|
||||||
__asm__(".p2align 4");
|
__asm__(".p2align 4");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user