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:

committed by
Dylan Baker

parent
f6653b1f59
commit
cbb58f2623
@@ -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
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user