Re: [fpc-devel] x86_64 SHA1 implementation (J. Gareth Moreton)

2023-09-17 Thread J. Gareth Moreton via fpc-devel
I will admit that part of me likes to program my own implementations in assembly language if just for the practice, especially learning where latency and stalls happen.  The problem with most of the examples given in this chain is that they use a 'high-level' assembly language with macros and v

Re: [fpc-devel] x86_64 SHA1 implementation (J. Gareth Moreton)

2023-09-17 Thread Florian Klämpfl via fpc-devel
> Am 17.09.2023 um 08:45 schrieb Arnaud Bouchez via fpc-devel > : > >  > There is a working SHA-1 and SHA-256 implementation using x86_64 asm and also > SHA-NI in mORMot 2. > > Numbers are very high, e.g. 2GB/s on my Core i5 13500. > > Since there is no SHA opcode in FPC asm yet (neither in