[PATCH] Improve endian conversion in umac.c

Thorsten Glaser t.glaser at tarent.de
Thu Mar 10 07:49:22 AEDT 2022


On Wed, 9 Mar 2022, rapier wrote:

> > inlined.  If you put the existing functions from misc.c into umac.c as
> > statics do you see the same improvement?
> 
> That worked and I saw the same improvement. For a 20GB test (a dd pipe with

I’d wager that the compiler optimises the inlined functions from
misc.c, which are suitably generic *and* UB-safe, to the same
result on x86, anyway.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

                        ****************************************************
/⁀\ The UTF-8 Ribbon
╲ ╱ Campaign against      Mit dem tarent-Newsletter nichts mehr verpassen:
 ╳  HTML eMail! Also,     https://www.tarent.de/newsletter
╱ ╲ header encryption!
                        ****************************************************


More information about the openssh-unix-dev mailing list