summaryrefslogtreecommitdiff
path: root/src/sna/sna_cpu.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-02-26 10:00:29 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-02-26 10:00:29 +0000
commit27c71027b1d76979460ef15bba8e8671e3286a24 (patch)
treef940edc1b52e4a123b2e748d4b5e4aa3f0f857de /src/sna/sna_cpu.c
parent2a6f3989ba2075c322cdf6e33f829f4d5a885be0 (diff)
sna: Ignore SSE4a - not an Intel ISA!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_cpu.c')
-rw-r--r--src/sna/sna_cpu.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sna/sna_cpu.c b/src/sna/sna_cpu.c
index d5264641..4dc1144f 100644
--- a/src/sna/sna_cpu.c
+++ b/src/sna/sna_cpu.c
@@ -70,9 +70,6 @@ unsigned sna_cpu_detect(void)
if (edx & bit_SSE2)
features |= SSE2;
- if (edx & bit_SSE4a)
- features |= SSE4a;
-
__cpuid(7, eax, ebx, ecx, edx);
if (eax & bit_AVX2)
@@ -100,8 +97,6 @@ char *sna_cpu_features_to_string(unsigned features, char *line)
line += sprintf (line, ", sse3");
if (features & SSSE3)
line += sprintf (line, ", ssse3");
- if (features & SSE4a)
- line += sprintf (line, ", sse4a");
if (features & SSE4_1)
line += sprintf (line, ", sse4.1");
if (features & SSE4_2)