flat assembler
Message board for the users of flat assembler.

Index > Main > x86_64 [avxX/sse/etc] assembly inflate/zlib implementations

Author
Thread Post new topic Reply to topic
sylware



Joined: 23 Oct 2020
Posts: 81
Location: Marseille/France
sylware
Hi,

The forum and gogol search was not that successful, the only "assembly" implementation I could find is: https://github.com/corsix/pigz

Anyone?
Post 18 Aug 2021, 14:37
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7938
Location: Kraków, Poland
Tomasz Grysztar
The HeavyThing has one, in zlib_inflate.inc.
Post 18 Aug 2021, 15:01
View user's profile Send private message Visit poster's website Reply with quote
sylware



Joined: 23 Oct 2020
Posts: 81
Location: Marseille/France
sylware
Thx!

While I can understand why the forum search is kind of brutal, I am surprised by the non-pertinent search from gogol though.

We should have something, up to date, like a super obvious sticky thread or forum, or an index as a web page, with all the "fasm[g] standard libraries".
Post 18 Aug 2021, 16:06
View user's profile Send private message Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 760
guignol
Tomasz Grysztar wrote:
The HeavyThing has one, in zlib_inflate.inc.
and where is BLAKE3 implementation?
Post 22 Aug 2021, 12:48
View user's profile Send private message Reply with quote
sylware



Joined: 23 Oct 2020
Posts: 81
Location: Marseille/France
sylware
This is exactly what said Tomasz Grysztar 2 messages above (don't worry I am very bad at finding already posted infos too). The heavything one is non PIE friendly. I am currently porting this code to PIE and I'll do a bit more, for instance I am looking for a zlib crc32 done with ymm regs (avx2), and I have to adapt the heavything buffer/heap/memset/memcpy systems which are used by its inflate code. I guess I'll port the latest (2018) asmlib stuff for memset/memcpy (nasm->fasmg).
I am already integrated heavything programming patterns into my own code (the 16 bytes align "paragraph" spamming).
Reading code from experienced and reasonable coders seems to be not that much of a bad thing.
Post 22 Aug 2021, 13:44
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.