From b93f60f7cd4bebbe6c26a456ea0b394fcafc731f Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 17 Nov 2017 11:41:34 +0100 Subject: conv_acc: Our code requires SSSE3, not just SSE3 The accelerated convolutional decoder uses SSSE3 instructions such as PSIGNW (via _mm_sign_epi16) which go beyond what SSE3 offers. So let's make sure we use the right compiler flag (-mssse3) and also the right runtime check. Without this patch, we would use illegal instructions e.g. on Opteron Gen3 such as Opteron 2427, which are also used as build.opensuse.org build hosts (build31 through build36) where we wouldn't pass "make check" as a result. Change-Id: I2754164384109f2821fd98ffb48f625893f2923d Fixes: OS#2386 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a8c1d2e3..f7acf05c 100644 --- a/configure.ac +++ b/configure.ac @@ -281,7 +281,7 @@ then AX_CHECK_SIMD else AM_CONDITIONAL(HAVE_AVX2, false) - AM_CONDITIONAL(HAVE_SSE3, false) + AM_CONDITIONAL(HAVE_SSSE3, false) AM_CONDITIONAL(HAVE_SSE4_1, false) fi -- cgit v1.2.3