Skip to content

Commit 1248763

Browse files
committed
Adhere to new Clang 3.9.0 header static checks in SIMD tests that require that arguments to certain SIMD functions are in uint8_t range. Fixes #4430.
1 parent 7cc73a0 commit 1248763

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/test_sse_full.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,6 @@ __m128 ExtractInRandomOrder(float *arr, int i, int n, int prime)
353353
}
354354

355355
#define const_int8_unroll(Ret_type, F, func) \
356-
F(Ret_type, func, -1); \
357356
F(Ret_type, func, 0); \
358357
F(Ret_type, func, 1); \
359358
F(Ret_type, func, 2); \
@@ -376,8 +375,7 @@ __m128 ExtractInRandomOrder(float *arr, int i, int n, int prime)
376375
F(Ret_type, func, 128); \
377376
F(Ret_type, func, 191); \
378377
F(Ret_type, func, 254); \
379-
F(Ret_type, func, 255); \
380-
F(Ret_type, func, 309);
378+
F(Ret_type, func, 255);
381379

382380
#define Ret_M128_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128_Tint_body, func)
383381
#define Ret_M128i_Tint(Ret_type, func) const_int8_unroll(Ret_type, Ret_M128i_Tint_body, func)

0 commit comments

Comments
 (0)