mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-19 03:20:55 +00:00
10 lines
250 B
C++
10 lines
250 B
C++
|
#include <immintrin.h>
|
||
|
int main(int argc, char* argv[])
|
||
|
{
|
||
|
// _mm256_broadcastsi128_si256 due to Clang
|
||
|
__m128i x = _mm_setzero_si128 ();
|
||
|
__m256i y = _mm256_broadcastsi128_si256 (x);
|
||
|
y = _mm256_add_epi64 (y,y);
|
||
|
return 0;
|
||
|
}
|