2
0
mirror of https://github.com/boostorg/log.git synced 2026-01-19 16:32:09 +00:00
Files
log/config/x86-ext/ssse3.cpp

19 lines
489 B
C++

/*
* 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>
#include <stdio.h>
int main(int, char*[])
{
__m128i mm = _mm_setzero_si128();
fread(&mm, 1u, sizeof(mm), stdin);
mm = _mm_shuffle_epi8(_mm_alignr_epi8(mm, mm, 10), mm);
fwrite(&mm, 1u, sizeof(mm), stdout);
return 0;
}