]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
syntax fixes
authorKonstantinos Margaritis <markos@freevec.org>
Wed, 23 Jun 2021 19:20:01 +0000 (22:20 +0300)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Tue, 12 Oct 2021 08:51:34 +0000 (11:51 +0300)
unit/internal/supervector.cpp

index c6caae6ee65e14ae6e9f11289b035f671be98116..c8e298ef7d133a63d4d8dffe598455cbc2e7b97f 100644 (file)
@@ -266,14 +266,14 @@ TEST(SuperVectorUtilsTest,pshufbc) {
 }
 
 /*Define ALIGNR128 macro*/
-#define TEST_ALIGNR128(v1, v2, buf, l) {                                                    \
-                                           auto v_aligned = v2.alignr(v1,l);                \
-                                           printv_u8("v1", v1);                        \
-                                           printv_u8("v2", v2);                        \
-                                           printv_u8("v_aligned", v_aligned);          \
-                                           for (size_t i=0; i<16; i++) {                    \
-                                               ASSERT_EQ(v_aligned.u.u8[i], vec[16 -l +i]); \
-                                           }                                                \
+#define TEST_ALIGNR128(v1, v2, buf, l) {                                                     \
+                                           auto v_aligned = v2.alignr(v1,l);                 \
+                                           printv_u8("v1", v1);                              \
+                                           printv_u8("v2", v2);                              \
+                                           printv_u8("v_aligned", v_aligned);                \
+                                           for (size_t i=0; i<16; i++) {                     \
+                                               ASSERT_EQ(v_aligned.u.u8[i], vec[16 -l + i]); \
+                                           }                                                 \
                                        }
 
 TEST(SuperVectorUtilsTest,Alignr128c){