Commit af18794f authored by James Zern's avatar James Zern
Browse files

simd_impl.h,SIMD_TUPLE: make name param type explicit

fixes an error under Xcode 8:
array initializer must be an initializer list or string literal
the type deduced from #name was e.g., char[11]

Change-Id: I6fcb29e3229db7650eee106ef6e3986515dc0a07
parent 82d580c6
......@@ -195,7 +195,7 @@ MY_TEST_P(ARCH_POSTFIX(V128_V128_Part3), TestIntrinsics) {
INSTANTIATE_TEST_CASE_P(name, type, ::testing::Values(__VA_ARGS__))
#define SIMD_TUPLE(name, mask, maskwidth) \
std::tr1::make_tuple(mask, maskwidth, #name)
std::tr1::make_tuple(mask, maskwidth, static_cast<const char *>(#name))
INSTANTIATE(ARCH, ARCH_POSTFIX(U32_V64V64),
(SIMD_TUPLE(v64_sad_u8, 0U, 0U), SIMD_TUPLE(v64_ssd_u8, 0U, 0U)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment