Borderou de evaluare (job #1485736)
Utilizator | Data | 12 septembrie 2015 20:34:41 | |
---|---|---|---|
Problema | Monezi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from user.cpp:2:0:
/usr/lib/gcc/i686-linux-gnu/4.8/include/nmmintrin.h:31:3: error: #error "SSE4.2 instruction set not enabled"
# error "SSE4.2 instruction set not enabled"
^
user.cpp: In function ‘int updateCount(int)’:
user.cpp:18:5: error: ‘__m128i’ was not declared in this scope
__m128i *xarray = (__m128i*) (a + 1);
^
user.cpp:18:14: error: ‘xarray’ was not declared in this scope
__m128i *xarray = (__m128i*) (a + 1);
^
user.cpp:18:32: error: expected primary-expression before ‘)’ token
__m128i *xarray = (__m128i*) (a + 1);
^
user.cpp:19:13: error: expected ‘;’ before ‘xb’
__m128i xb = _mm_set1_epi32(0);
^
user.cpp:20:13: error: expected ‘;’ before ‘cnt’
__m128i cnt = _mm_setzero_si128();
^
user.cpp:24:17: error: expected ‘;’ before ‘value’
__m128i value = _mm_loadu_si128(&xarray[i]);
^
user.cpp:25:17: error: expected ‘;’ before ‘test’
__m128i test = _mm_cmpeq_epi32(value, xb);
^
user.cpp:26:34: error: ‘test’ was not declared in this scope
cnt = _mm_sub_epi32(cnt, test);
^
user.cpp:26:38: error: ‘_mm_sub_epi32’ was not declared in this scope
cnt = _mm_sub_epi32(cnt, test);
^
user.cpp:28:13: error: expected ‘;’ before ‘shuffle1’
__m128i shuffle1 = _mm_shuffle_epi32(cnt, _MM_SHUFFLE(1, 0, 3, 2));
^
user.cpp:29:30: error: ‘shuffle1’ was not declared in this scope
cnt = _mm_add_epi32(cnt, shuffle1);
^
user.cpp:29:38: error: ‘_mm_add_epi32’ was not declared in this scope
cnt = _mm_add_epi32(cnt, shuffle1);
^
user.cpp:30:13: error: expected ‘;’ before ‘shuffle2’
__m128i shuffle2 = _mm_shuffle_epi32(cnt, _MM_SHUFFLE(2, 3, 0, 1));
^
user.cpp:31:30: error: ‘shuffle2’ was not declared in this scope
cnt = _mm_add_epi32(cnt, shuffle2);
^
user.cpp:32:33: error: ‘_mm_cvtsi128_si32’ was not declared in this scope
return _mm_cvtsi128_si32(cnt);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !