@@ -13,7 +13,8 @@ TYPED_TEST_SUITE_P(avx512_sort);
13
13
TYPED_TEST_P (avx512_sort, test_random)
14
14
{
15
15
if (__builtin_cpu_supports (" avx512bw" )) {
16
- if ((sizeof (TypeParam) == 2 ) && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
16
+ if ((sizeof (TypeParam) == 2 )
17
+ && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
17
18
GTEST_SKIP () << " Skipping this test, it requires avx512_vbmi2" ;
18
19
}
19
20
std::vector<int64_t > arrsizes;
@@ -42,7 +43,8 @@ TYPED_TEST_P(avx512_sort, test_random)
42
43
TYPED_TEST_P (avx512_sort, test_reverse)
43
44
{
44
45
if (__builtin_cpu_supports (" avx512bw" )) {
45
- if ((sizeof (TypeParam) == 2 ) && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
46
+ if ((sizeof (TypeParam) == 2 )
47
+ && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
46
48
GTEST_SKIP () << " Skipping this test, it requires avx512_vbmi2" ;
47
49
}
48
50
std::vector<int64_t > arrsizes;
@@ -73,7 +75,8 @@ TYPED_TEST_P(avx512_sort, test_reverse)
73
75
TYPED_TEST_P (avx512_sort, test_constant)
74
76
{
75
77
if (__builtin_cpu_supports (" avx512bw" )) {
76
- if ((sizeof (TypeParam) == 2 ) && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
78
+ if ((sizeof (TypeParam) == 2 )
79
+ && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
77
80
GTEST_SKIP () << " Skipping this test, it requires avx512_vbmi2" ;
78
81
}
79
82
std::vector<int64_t > arrsizes;
@@ -104,7 +107,8 @@ TYPED_TEST_P(avx512_sort, test_constant)
104
107
TYPED_TEST_P (avx512_sort, test_small_range)
105
108
{
106
109
if (__builtin_cpu_supports (" avx512bw" )) {
107
- if ((sizeof (TypeParam) == 2 ) && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
110
+ if ((sizeof (TypeParam) == 2 )
111
+ && (!__builtin_cpu_supports (" avx512vbmi2" ))) {
108
112
GTEST_SKIP () << " Skipping this test, it requires avx512_vbmi2" ;
109
113
}
110
114
std::vector<int64_t > arrsizes;
0 commit comments