From: Wayne Davison Date: Sun, 21 Jun 2020 15:28:49 +0000 (-0700) Subject: Use an ssse3 target instead of an inline declaration. X-Git-Tag: v3.2.1pre1~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e9fd0ccafd113fa0d3c956669a50e95e5424bf;p=thirdparty%2Frsync.git Use an ssse3 target instead of an inline declaration. --- 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) {