• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *          Copyright Andrey Semashev 2007 - 2015.
3  * Distributed under the Boost Software License, Version 1.0.
4  *    (See accompanying file LICENSE_1_0.txt or copy at
5  *          http://www.boost.org/LICENSE_1_0.txt)
6  */
7 
8 #include <immintrin.h>
9 
10 void pretend_used(__m256i*);
11 
main(int,char * [])12 int main(int, char*[])
13 {
14     __m256i mm = _mm256_setzero_si256();
15     pretend_used(&mm);
16     mm = _mm256_shuffle_epi8(_mm256_alignr_epi8(mm, mm, 10), mm);
17     pretend_used(&mm);
18     _mm256_zeroupper();
19     return 0;
20 }
21