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>
(cherry picked from commit ca947e1295)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32261>
This commit is contained in:
David Heidelberg
2024-11-06 01:56:38 -05:00
committed by Dylan Baker
parent f6653b1f59
commit cbb58f2623
3 changed files with 1 additions and 7 deletions

View File

@@ -264,7 +264,7 @@
"description": "util: Drop ancient Intel CPU detection",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": null,
"notes": null

View File

@@ -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) {

View File

@@ -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;