This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/19154] New: chip vendor who is not "GenuineIntel" or "AuthenticAMD" gets no CPUID features.
- From: "cpudebug at centtech dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 19 Oct 2015 20:23:09 +0000
- Subject: [Bug libc/19154] New: chip vendor who is not "GenuineIntel" or "AuthenticAMD" gets no CPUID features.
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=19154
Bug ID: 19154
Summary: chip vendor who is not "GenuineIntel" or
"AuthenticAMD" gets no CPUID features.
Product: glibc
Version: 2.22
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: cpudebug at centtech dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
in glibc/sysdeps/x86_64/multiarch/init-arch.c, __init_cpu_features()
I notice if a processor's name string is not "GenuineIntel" or "AuthenticAMD",
then it will go thru this code path
else {
kind = arch_kind_other;
}
the problem is then x86 processor like VIA Nano will not be able to use the sse
or avx optimized functions.
the fix is to change to
else {
kind = arch_kind_other;
get_common_indeces (&family, &model);
}
so get_common_indeces() will populate __cpu_features with the information glibc
needs to use sse or avx optimized functions.
--
You are receiving this mail because:
You are on the CC list for the bug.