CVS: cvs.openbsd.org: src

George Koehler <[email protected]> Tue, 21 Jul 2026 13:37:06 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/21 13:37:06

Modified files:
	sys/arch/powerpc64/powerpc64: cpu.c 
	sys/arch/powerpc/include: elf.h 
	sys/arch/powerpc64/include: elf.h 

Log message:
Set flags for Power ISA 2.06, 2.07, isel, and vec crypto

These are for elf_aux_info(3) AT_HWCAP or AT_HWCAP2.  The vec crypto
flag is for accelerating AES and SHA-2.  Some ports check these flags,
or will check them if they get patched to call elf_aux_info.

Define PPC_FEATURE2_VEC_CRYPTO with the same value as
PPC_FEATURE2_HAS_VEC_CRYPTO, because I have seen code using the name
without HAS.

ok kettenis@