Home GnuPG

Fix cpuid vendor-id check for i386 and x86-64
9e1552517f68Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix cpuid vendor-id check for i386 and x86-64

* src/hwfeatures.c (detect_x86_64_gnuc, detect_ia32_gnuc): Allow
Intel features be detect from CPU by other vendors too.

detect_x86_64_gnuc() and detect_ia32_gnuc() incorrectly exclude Intel
features on all other vendor CPUs. What we want here, is to detect if
CPU from any vendor support said Intel feature (in this case AES-NI).

[v2]

  • Add GNU style changelog
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>

Details

Provenance
jukiviliAuthored on Nov 16 2012, 9:44 AM
wernerCommitted on Nov 21 2012, 11:51 AM
Parents
rC19b9efd1f47a: Fix hwdetect assembler clobbers
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC9e1552517f68: Fix cpuid vendor-id check for i386 and x86-64 (authored by Jussi Kivilinna <jussi.kivilinna@mbnet.fi>).Nov 21 2012, 11:51 AM