mirror of
https://github.com/google/cpu_features.git
synced 2025-09-30 23:44:53 +02:00
Fix list_cpu_features.exe does not detect SSE42 on Xeon X5650 (Windows) (#220)
This commit is contained in:
@@ -27,7 +27,8 @@ static void OverrideOsPreserves(OsPreserves* os_preserves) {
|
||||
#include "internal/filesystem.h"
|
||||
#include "internal/stack_line_reader.h"
|
||||
#include "internal/string_view.h"
|
||||
static void DetectFeaturesFromOs(X86Features* features) {
|
||||
static void DetectFeaturesFromOs(X86Info* info, X86Features* features) {
|
||||
(void)info;
|
||||
// Handling Linux platform through /proc/cpuinfo.
|
||||
const int fd = CpuFeatures_OpenFile("/proc/cpuinfo");
|
||||
if (fd >= 0) {
|
||||
|
Reference in New Issue
Block a user