Re: bswap is slow on SPARC

nia <[email protected]> Mon, 24 Nov 2025 16:11:41 +0000
Newsgroups gmane.os.netbsd.ports.sparc64,gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
On Mon, Nov 24, 2025 at 06:10:07PM +0300, Valery Ushakov wrote:
> Not the best name, admittedly, but naming is hard...
> 
> We have an established convention of __HAVE_feature defines for stuff
> like this, though in this case we will need a negative
> __HAVE_NO_FAST_BSWAP, which is kinda ugly.

I decided on __HAVE_SLOW_BSWAP_BUILTIN, just because of a bias against 
"NO" in macro and variable names.

Noted for all the rest.