Summary: | Expose rdrand and f16c even on avx if host cpu supports them | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
Component: | general | Assignee: | Mark Wielaard <mark> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahajkova |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Expose rdrand and f16c through cpuid also if the host only has avx. |
Description
Mark Wielaard
2019-05-27 23:04:28 UTC
Created attachment 120350 [details]
Expose rdrand and f16c through cpuid also if the host only has avx.
Proposed fix.
commit 791fe5ecf909d573bcbf353b677b9404f9da0ed4 Author: Mark Wielaard <mark@klomp.org> Date: Mon May 27 22:19:27 2019 +0200 Expose rdrand and f16c through cpuid also if the host only has avx. The amd64 CPUID dirtyhelpers are mostly static since they emulate some existing CPU "family". The avx2 ("i7-4910MQ") CPUID variant however can "dynamicly" enable rdrand and/or f16c if the host supports them. Do the same for the avx_and_cx16 ("i5-2300") CPUID variant. https://bugs.kde.org/show_bug.cgi?id=408009 |