mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 11:16:29 +03:00
clang 15 (but not 16) fails on ppc64le with -Wdeprecate-lax-vec-conv-all
This commit is contained in:
@@ -673,8 +673,11 @@ TEST(SimdUtilsTest, movq) {
|
||||
int64x2_t a = { 0x123456789abcdefLL, ~0LL };
|
||||
simd = vreinterpretq_s32_s64(a);
|
||||
#elif defined(ARCH_PPC64EL)
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
|
||||
int64x2_t a = {0x123456789abcdefLL, ~0LL };
|
||||
simd = (m128) a;
|
||||
simd = static_cast<m128>(a);
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#endif
|
||||
r = movq(simd);
|
||||
|
Reference in New Issue
Block a user