Re: bswap is slow on SPARC
Sad Clouds <[email protected]> Mon, 24 Nov 2025 19:55:37 +0000
| Newsgroups | gmane.os.netbsd.ports.sparc,gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 24 Nov 2025 13:30:50 +0000 nia <[email protected]> wrote: > When encryption algorithms expect to be able to encode little-endian > integers in a tight loop, that adds up to being *slow*. Especially > when NetBSD encrypts swap by default now. I wonder, why store data in a little-endian byte order on a big-endian architecture? Is it that common to access the same swap partition across multiple architectures?