summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/log/config/x86-ext/ssse3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/boost/libs/log/config/x86-ext/ssse3.cpp')
-rw-r--r--src/boost/libs/log/config/x86-ext/ssse3.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/boost/libs/log/config/x86-ext/ssse3.cpp b/src/boost/libs/log/config/x86-ext/ssse3.cpp
new file mode 100644
index 00000000..4bcfe2bc
--- /dev/null
+++ b/src/boost/libs/log/config/x86-ext/ssse3.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright Andrey Semashev 2007 - 2015.
+ * Distributed under the Boost Software License, Version 1.0.
+ * (See accompanying file LICENSE_1_0.txt or copy at
+ * http://www.boost.org/LICENSE_1_0.txt)
+ */
+
+#include <tmmintrin.h>
+
+void pretend_used(__m128i*);
+
+int main(int, char*[])
+{
+ __m128i mm = _mm_setzero_si128();
+ pretend_used(&mm);
+ mm = _mm_shuffle_epi8(_mm_alignr_epi8(mm, mm, 10), mm);
+ pretend_used(&mm);
+ return 0;
+}