New release portability issue

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 




On an old Fujitsu SPARC64 server running Solaris 10 there is no builtin compiler function for __builtin_popcount. This seems to be
something new in libcrux_mlkem768_sha3.h header. There was no issue
with openssh-9.8p1.

    The LLVM folks have neat little bit of code that can do the bit
shifting and adding :


https://github.com/llvm-mirror/compiler-rt/blob/master/lib/builtins/popcountdi2.c

    It would be better to use inline asm where the SPARC64 hardware does
indeed have the popc instruction.



--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux