mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 09:50:36 +02:00
util: Drop ancient Intel CPU detection
We don't use it for anything. Cc: mesa-stable # 24.3 Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Yonggang Luo <luoyonggang@gmail.com> Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31998>
This commit is contained in:
parent
a78c2bf2a4
commit
ca947e1295
2 changed files with 0 additions and 6 deletions
|
|
@ -923,11 +923,6 @@ _util_cpu_detect_once(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (regs[1] == 0x756e6547 && regs[2] == 0x6c65746e && regs[3] == 0x49656e69) {
|
||||
/* GenuineIntel */
|
||||
util_cpu_caps.has_intel = 1;
|
||||
}
|
||||
|
||||
cpuid(0x80000000, regs);
|
||||
|
||||
if (regs[0] >= 0x80000001) {
|
||||
|
|
|
|||
|
|
@ -87,7 +87,6 @@ struct util_cpu_caps_t {
|
|||
int x86_cpu_type;
|
||||
unsigned cacheline;
|
||||
|
||||
unsigned has_intel:1;
|
||||
unsigned has_sse:1;
|
||||
unsigned has_sse2:1;
|
||||
unsigned has_sse3:1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue