Re: bswap is slow on SPARC

Dennis Clarke <[email protected]> Tue, 25 Nov 2025 02:41:12 -0500
Newsgroups gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.ports.sparc
Organization GENUNIX
Message-ID <[email protected]>
On 11/25/25 01:09, Sad Clouds wrote:
> On Tue, 25 Nov 2025 00:19:29 -0500
> Dennis Clarke <[email protected]> wrote:
> 
>> However truth be told it is just plain convenient to store data in the
>> little endian format when dealing with a whack of machines. Most of them
>> are going to be little endian these days in this millenium :)
> 
> I'm not sure about this, because you cannot simply disregard big-endian
> architectures, so for any well-designed code, portability is important
> and it still must deal with different byte orders.

Disregard? I have it running at home. Sadly NetBSD is not quite ready
for anything SPARC sun4v.


-- 
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken