Closed
Description
In the next-merge
branches for llvm and clang there is a merge of upstream from around a week ago. Looks like the newer clang has more warnings and errors than before, and in particular test_ssse3_full
fails on
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_ssse3_full.cpp:24:32: error: argument should be a value from 0 to 255
Ret_M128i_M128i_Tint(__m128i, _mm_alignr_epi8);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:385:101: note: expanded from macro 'Ret_M128i_M128i_Tint'
#define Ret_M128i_M128i_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128i_M128i_Tint_body, func)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:356:14: note: expanded from macro 'const_int8_unroll'
F(Ret_type, func, -1); \
~~~~~~~~~~~~^~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:334:20: note: expanded from macro 'Ret_M128i_M128i_Tint_body'
Ret_type ret = func(m1, m2, Tint); \
^~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/fastcomp/cbuild/bin/../lib/clang/3.9.0/include/tmmintrin.h:161:12: note: expanded from macro '_mm_alignr_epi8'
(__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
^
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_ssse3_full.cpp:24:2: error: cannot initialize a variable of type '__m128i' (vector of 2 'long long' values) with an
rvalue of type 'void'
Ret_M128i_M128i_Tint(__m128i, _mm_alignr_epi8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:385:74: note: expanded from macro 'Ret_M128i_M128i_Tint'
#define Ret_M128i_M128i_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128i_M128i_Tint_body, func)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:356:2: note: expanded from macro 'const_int8_unroll'
F(Ret_type, func, -1); \
^~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:334:14: note: expanded from macro 'Ret_M128i_M128i_Tint_body'
Ret_type ret = func(m1, m2, Tint); \
^ ~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_ssse3_full.cpp:24:32: error: argument should be a value from 0 to 255
Ret_M128i_M128i_Tint(__m128i, _mm_alignr_epi8);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:385:101: note: expanded from macro 'Ret_M128i_M128i_Tint'
#define Ret_M128i_M128i_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128i_M128i_Tint_body, func)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:380:14: note: expanded from macro 'const_int8_unroll'
F(Ret_type, func, 309);
~~~~~~~~~~~~^~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:334:20: note: expanded from macro 'Ret_M128i_M128i_Tint_body'
Ret_type ret = func(m1, m2, Tint); \
^~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/fastcomp/cbuild/bin/../lib/clang/3.9.0/include/tmmintrin.h:161:12: note: expanded from macro '_mm_alignr_epi8'
(__m128i)__builtin_ia32_palignr128((__v16qi)(__m128i)(a), \
^
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_ssse3_full.cpp:24:2: error: cannot initialize a variable of type '__m128i' (vector of 2 'long long' values) with an
rvalue of type 'void'
Ret_M128i_M128i_Tint(__m128i, _mm_alignr_epi8);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:385:74: note: expanded from macro 'Ret_M128i_M128i_Tint'
#define Ret_M128i_M128i_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128i_M128i_Tint_body, func)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:380:2: note: expanded from macro 'const_int8_unroll'
F(Ret_type, func, 309);
^~~~~~~~~~~~~~~~~~~~~~
/media/alon/2f9a30d7-6124-42d9-87c5-3c80cb70ec54/home/alon/Dev/emscripten/tests/test_sse_full.h:334:14: note: expanded from macro 'Ret_M128i_M128i_Tint_body'
Ret_type ret = func(m1, m2, Tint); \
^ ~~~~~~~~~~~~~~~~~~
4 errors generated.
ERROR
cc @juj