From fb3daad604ffbd807bf33dec93df9dbc728d1cbd Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 29 Sep 2017 16:27:47 -0700 Subject: [PATCH] cpu: fix ssse3 check ssse3 is bit #9 in ecx, bit 1 is sse3. this only controls the check for slow ssse3 and likely had no ill effect. Change-Id: I84ce73dc480e1cdbd085e37be06f3f402116c201 --- src/dsp/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dsp/cpu.c b/src/dsp/cpu.c index b5583b6e..a93bda05 100644 --- a/src/dsp/cpu.c +++ b/src/dsp/cpu.c @@ -143,7 +143,7 @@ static int x86CPUInfo(CPUFeature feature) { return !!(cpu_info[2] & (1 << 0)); } if (feature == kSlowSSSE3) { - if (is_intel && (cpu_info[2] & (1 << 0))) { // SSSE3? + if (is_intel && (cpu_info[2] & (1 << 9))) { // SSSE3? return CheckSlowModel(cpu_info[0]); } return 0;