Skip to content
Permalink
Browse files
CRC32 on OpenBSD/powerpc64.
closes #1828
  • Loading branch information
brad0 authored and grooverdan committed May 26, 2021
1 parent 6d549ae commit 4926498
Showing 1 changed file with 2 additions and 2 deletions.
@@ -517,12 +517,12 @@ static int arch_ppc_probe(void) {

return arch_ppc_crc32;
}
#elif _AIX
#elif defined(_AIX) || defined(__OpenBSD__)
static int arch_ppc_probe(void) {
arch_ppc_crc32 = 0;

#if defined(__powerpc64__)
// AIX 7.1+ has vector crypto features on all POWER 8+
// AIX 7.1+/OpenBSD has vector crypto features on all POWER 8+
arch_ppc_crc32 = 1;
#endif /* __powerpc64__ */

0 comments on commit 4926498

Please sign in to comment.