New hardware feature flag HWF_INTEL_RDTSC.
authorWerner Koch <wk@gnupg.org>
Wed, 14 Jun 2017 11:57:45 +0000 (13:57 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 14 Jun 2017 11:57:45 +0000 (13:57 +0200)
commit06f303a633ea2b992259688bef2b023c3f388f73
treea023e01ec283b2fc5c3b674681c31ee540b057f4
parenta44c45675f8b631e11048a540bb1fbb7a022ebb4
New hardware feature flag HWF_INTEL_RDTSC.

* src/g10lib.h (HWF_INTEL_RDTSC): New.
* src/hwfeatures.c (hwflist): Add "intel-rdtsc".
* src/hwf-x86.c (detect_x86_gnuc): Get EDX features and test for TSC.

Signed-off-by: Werner Koch <wk@gnupg.org>
doc/gcrypt.texi
src/g10lib.h
src/hwf-x86.c
src/hwfeatures.c