From 3d5d56fef5b18592b59d9c7342bb5639780846da Mon Sep 17 00:00:00 2001 From: Cedric Guillemet Date: Fri, 22 May 2020 18:50:42 +0200 Subject: [PATCH] =?UTF-8?q?fix=20warning=20gcc:=20```=20error:=20extra=20?= =?UTF-8?q?=E2=80=98;=E2=80=99=20[-Werror=3Dpedantic]=20```?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/bx/inline/simd128_sse.inl | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/include/bx/inline/simd128_sse.inl b/include/bx/inline/simd128_sse.inl index 79f185b..f3e8917 100644 --- a/include/bx/inline/simd128_sse.inl +++ b/include/bx/inline/simd128_sse.inl @@ -41,21 +41,21 @@ namespace bx return (_mask) == (_mm_movemask_ps(_test)&(_mask) ); \ } -BX_SIMD128_IMPLEMENT_TEST(x , 0x1); -BX_SIMD128_IMPLEMENT_TEST(y , 0x2); -BX_SIMD128_IMPLEMENT_TEST(xy , 0x3); -BX_SIMD128_IMPLEMENT_TEST(z , 0x4); -BX_SIMD128_IMPLEMENT_TEST(xz , 0x5); -BX_SIMD128_IMPLEMENT_TEST(yz , 0x6); -BX_SIMD128_IMPLEMENT_TEST(xyz , 0x7); -BX_SIMD128_IMPLEMENT_TEST(w , 0x8); -BX_SIMD128_IMPLEMENT_TEST(xw , 0x9); -BX_SIMD128_IMPLEMENT_TEST(yw , 0xa); -BX_SIMD128_IMPLEMENT_TEST(xyw , 0xb); -BX_SIMD128_IMPLEMENT_TEST(zw , 0xc); -BX_SIMD128_IMPLEMENT_TEST(xzw , 0xd); -BX_SIMD128_IMPLEMENT_TEST(yzw , 0xe); -BX_SIMD128_IMPLEMENT_TEST(xyzw , 0xf); +BX_SIMD128_IMPLEMENT_TEST(x , 0x1) +BX_SIMD128_IMPLEMENT_TEST(y , 0x2) +BX_SIMD128_IMPLEMENT_TEST(xy , 0x3) +BX_SIMD128_IMPLEMENT_TEST(z , 0x4) +BX_SIMD128_IMPLEMENT_TEST(xz , 0x5) +BX_SIMD128_IMPLEMENT_TEST(yz , 0x6) +BX_SIMD128_IMPLEMENT_TEST(xyz , 0x7) +BX_SIMD128_IMPLEMENT_TEST(w , 0x8) +BX_SIMD128_IMPLEMENT_TEST(xw , 0x9) +BX_SIMD128_IMPLEMENT_TEST(yw , 0xa) +BX_SIMD128_IMPLEMENT_TEST(xyw , 0xb) +BX_SIMD128_IMPLEMENT_TEST(zw , 0xc) +BX_SIMD128_IMPLEMENT_TEST(xzw , 0xd) +BX_SIMD128_IMPLEMENT_TEST(yzw , 0xe) +BX_SIMD128_IMPLEMENT_TEST(xyzw , 0xf) #undef BX_SIMD128_IMPLEMENT_TEST