NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc64/59789: bswap is slow
>Number: 59789
>Category: port-sparc64
>Synopsis: bswap is slow
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-sparc64-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 24 14:30:00 +0000 2025
>Originator: nia
>Release: netbsd-11, netbsd-10, netbsd-9...
>Organization:
The NetBSD SPARCstation
>Environment:
NetBSD lilac 11.99.4 NetBSD 11.99.4 (LILAC) #2: Mon Nov 24 14:15:27 CET 2025 nia@siphon:/encrypt/obj/sys/arch/sparc64/compile/LILAC sparc64
>Description:
bswapX on sparc64, unlike other NetBSD ports, does not generate inline
code but rather function calls. This results in some code being
unexpectedly slower than usual, see this mailing list post
for details:
https://mail-index.netbsd.org/port-sparc64/2025/11/24/msg003436.html
>How-To-Repeat:
Disk encryption with adiantum on a sparc64 machine gains 1 MiB/s
speed when function calls are avoided.
>Fix:
One solution is to reuse the existing inline macros on sparc64,
see the patch in the linked mailing list post.
Home |
Main Index |
Thread Index |
Old Index