[PATCH 1/3] hwf-ppc: add detection for PowerISA 3.00

Jussi Kivilinna jussi.kivilinna at iki.fi
Sat Aug 31 11:11:43 CEST 2019


On 31.8.2019 5.10, Shawn Landden wrote:
> 
> 
> 30.08.2019, 18:50, "Jussi Kivilinna via Gcrypt-devel" <gcrypt-devel at gnupg.org>:
>> * src/g10lib.h (HWF_PPC_ARCH_3_00): New.
>> * src/hwf-ppc.c (feature_map_s): Remove unused 'feature_match'.
>> (PPC_FEATURE2_ARCH_3_00): New.
>> (ppc_features, get_hwcap): Add PowerISA 3.00.
> 
> Ahh, I see that Power 9 has different performance characteristics. I was wondering what this was for. I am working on GHASH now.

Right, PowerISA 3.00 is not actually used and this is only for detecting Power 9. Later if Power 10 has better vector SHA2 performance, we'll need new HW feature flag to detect that processor to select best implementation for it. 

-Jussi




More information about the Gcrypt-devel mailing list