From e9e9fd0ccafd113fa0d3c956669a50e95e5424bf Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 21 Jun 2020 08:28:49 -0700 Subject: [PATCH] Use an ssse3 target instead of an inline declaration. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d8bc1013..5e58c7d7 100644 --- a/configure.ac +++ b/configure.ac @@ -217,7 +217,7 @@ __attribute__ ((target("sse2"))) int test_sse2(int x) { return x; } __attribute__ ((target("avx2"))) int test_avx2(int x) { return x; } typedef long long __m128i_u __attribute__((__vector_size__(16), __may_alias__, __aligned__(1))); typedef long long __m256i_u __attribute__((__vector_size__(32), __may_alias__, __aligned__(1))); -inline void more_testing(char* buf, int len) +__attribute__ ((target("ssse3"))) void more_testing(char* buf, int len) { int i; for (i = 0; i < (len-32); i+=32) { -- 2.47.2