Skip to content

Commit fa02165

Browse files
committed
fixup! clean up SVE_ACLE_FUNC macro
1 parent fc55113 commit fa02165

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_maxnm.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
#ifdef SVE_OVERLOADED_FORMS
1212
// A simple used,unused... macro, long enough to represent any SVE builtin.
13-
#define SVE_ACLE_FUNC(A1,A2_UNUSED,A3,A4_UNUSED,A5) A1##A3##A5
13+
#define SVE_ACLE_FUNC(A1,A2_UNUSED) A1
1414
#else
15-
#define SVE_ACLE_FUNC(A1,A2,A3,A4,A5) A1##A2##A3##A4##A5
15+
#define SVE_ACLE_FUNC(A1,A2) A1##A2
1616
#endif
1717

1818
// Single, x2
@@ -40,7 +40,7 @@
4040
// CPP-CHECK-NEXT: ret <vscale x 16 x half> [[TMP6]]
4141
//
4242
svfloat16x2_t test_svmaxnm_single_f16_x2(svfloat16x2_t zdn, svfloat16_t zm) __arm_streaming {
43-
return SVE_ACLE_FUNC(svmaxnm,_single_f16_x2,,,)(zdn, zm);
43+
return SVE_ACLE_FUNC(svmaxnm,_single_f16_x2)(zdn, zm);
4444
}
4545

4646
// CHECK-LABEL: @test_svmaxnm_single_f32_x2(
@@ -66,7 +66,7 @@ svfloat16x2_t test_svmaxnm_single_f16_x2(svfloat16x2_t zdn, svfloat16_t zm) __ar
6666
// CPP-CHECK-NEXT: ret <vscale x 8 x float> [[TMP6]]
6767
//
6868
svfloat32x2_t test_svmaxnm_single_f32_x2(svfloat32x2_t zdn, svfloat32_t zm) __arm_streaming {
69-
return SVE_ACLE_FUNC(svmaxnm,_single_f32_x2,,,)(zdn, zm);
69+
return SVE_ACLE_FUNC(svmaxnm,_single_f32_x2)(zdn, zm);
7070
}
7171

7272
// CHECK-LABEL: @test_svmaxnm_single_f64_x2(
@@ -92,7 +92,7 @@ svfloat32x2_t test_svmaxnm_single_f32_x2(svfloat32x2_t zdn, svfloat32_t zm) __ar
9292
// CPP-CHECK-NEXT: ret <vscale x 4 x double> [[TMP6]]
9393
//
9494
svfloat64x2_t test_svmaxnm_single_f64_x2(svfloat64x2_t zdn, svfloat64_t zm) __arm_streaming {
95-
return SVE_ACLE_FUNC(svmaxnm,_single_f64_x2,,,)(zdn, zm);
95+
return SVE_ACLE_FUNC(svmaxnm,_single_f64_x2)(zdn, zm);
9696
}
9797

9898
// Single, x4
@@ -132,7 +132,7 @@ svfloat64x2_t test_svmaxnm_single_f64_x2(svfloat64x2_t zdn, svfloat64_t zm) __ar
132132
// CPP-CHECK-NEXT: ret <vscale x 32 x half> [[TMP12]]
133133
//
134134
svfloat16x4_t test_svmaxnm_single_f16_x4(svfloat16x4_t zdn, svfloat16_t zm) __arm_streaming {
135-
return SVE_ACLE_FUNC(svmaxnm,_single_f16_x4,,,)(zdn, zm);
135+
return SVE_ACLE_FUNC(svmaxnm,_single_f16_x4)(zdn, zm);
136136
}
137137

138138
// CHECK-LABEL: @test_svmaxnm_single_f32_x4(
@@ -170,7 +170,7 @@ svfloat16x4_t test_svmaxnm_single_f16_x4(svfloat16x4_t zdn, svfloat16_t zm) __ar
170170
// CPP-CHECK-NEXT: ret <vscale x 16 x float> [[TMP12]]
171171
//
172172
svfloat32x4_t test_svmaxnm_single_f32_x4(svfloat32x4_t zdn, svfloat32_t zm) __arm_streaming {
173-
return SVE_ACLE_FUNC(svmaxnm,_single_f32_x4,,,)(zdn, zm);
173+
return SVE_ACLE_FUNC(svmaxnm,_single_f32_x4)(zdn, zm);
174174
}
175175

176176
// CHECK-LABEL: @test_svmaxnm_single_f64_x4(
@@ -208,7 +208,7 @@ svfloat32x4_t test_svmaxnm_single_f32_x4(svfloat32x4_t zdn, svfloat32_t zm) __ar
208208
// CPP-CHECK-NEXT: ret <vscale x 8 x double> [[TMP12]]
209209
//
210210
svfloat64x4_t test_svmaxnm_single_f64_x4(svfloat64x4_t zdn, svfloat64_t zm) __arm_streaming {
211-
return SVE_ACLE_FUNC(svmaxnm,_single_f64_x4,,,)(zdn, zm);
211+
return SVE_ACLE_FUNC(svmaxnm,_single_f64_x4)(zdn, zm);
212212
}
213213

214214
// Multi, x2
@@ -240,7 +240,7 @@ svfloat64x4_t test_svmaxnm_single_f64_x4(svfloat64x4_t zdn, svfloat64_t zm) __ar
240240
// CPP-CHECK-NEXT: ret <vscale x 16 x half> [[TMP8]]
241241
//
242242
svfloat16x2_t test_svmaxnm_multi_f16_x2(svfloat16x2_t zdn, svfloat16x2_t zm) __arm_streaming {
243-
return SVE_ACLE_FUNC(svmaxnm,_f16_x2,,,)(zdn, zm);
243+
return SVE_ACLE_FUNC(svmaxnm,_f16_x2)(zdn, zm);
244244
}
245245

246246
// CHECK-LABEL: @test_svmaxnm_multi_f32_x2(
@@ -270,7 +270,7 @@ svfloat16x2_t test_svmaxnm_multi_f16_x2(svfloat16x2_t zdn, svfloat16x2_t zm) __a
270270
// CPP-CHECK-NEXT: ret <vscale x 8 x float> [[TMP8]]
271271
//
272272
svfloat32x2_t test_svmaxnm_multi_f32_x2(svfloat32x2_t zdn, svfloat32x2_t zm) __arm_streaming {
273-
return SVE_ACLE_FUNC(svmaxnm,_f32_x2,,,)(zdn, zm);
273+
return SVE_ACLE_FUNC(svmaxnm,_f32_x2)(zdn, zm);
274274
}
275275

276276
// CHECK-LABEL: @test_svmaxnm_multi_f64_x2(
@@ -300,7 +300,7 @@ svfloat32x2_t test_svmaxnm_multi_f32_x2(svfloat32x2_t zdn, svfloat32x2_t zm) __a
300300
// CPP-CHECK-NEXT: ret <vscale x 4 x double> [[TMP8]]
301301
//
302302
svfloat64x2_t test_svmaxnm_multi_f64_x2(svfloat64x2_t zdn, svfloat64x2_t zm) __arm_streaming {
303-
return SVE_ACLE_FUNC(svmaxnm,_f64_x2,,,)(zdn, zm);
303+
return SVE_ACLE_FUNC(svmaxnm,_f64_x2)(zdn, zm);
304304
}
305305

306306
// Multi, x4
@@ -348,7 +348,7 @@ svfloat64x2_t test_svmaxnm_multi_f64_x2(svfloat64x2_t zdn, svfloat64x2_t zm) __a
348348
// CPP-CHECK-NEXT: ret <vscale x 32 x half> [[TMP16]]
349349
//
350350
svfloat16x4_t test_svmaxnm_multi_f16_x4(svfloat16x4_t zdn, svfloat16x4_t zm) __arm_streaming {
351-
return SVE_ACLE_FUNC(svmaxnm,_f16_x4,,,)(zdn, zm);
351+
return SVE_ACLE_FUNC(svmaxnm,_f16_x4)(zdn, zm);
352352
}
353353

354354
// CHECK-LABEL: @test_svmaxnm_multi_f32_x4(
@@ -394,7 +394,7 @@ svfloat16x4_t test_svmaxnm_multi_f16_x4(svfloat16x4_t zdn, svfloat16x4_t zm) __a
394394
// CPP-CHECK-NEXT: ret <vscale x 16 x float> [[TMP16]]
395395
//
396396
svfloat32x4_t test_svmaxnm_multi_f32_x4(svfloat32x4_t zdn, svfloat32x4_t zm) __arm_streaming {
397-
return SVE_ACLE_FUNC(svmaxnm,_f32_x4,,,)(zdn, zm);
397+
return SVE_ACLE_FUNC(svmaxnm,_f32_x4)(zdn, zm);
398398
}
399399

400400
// CHECK-LABEL: @test_svmaxnm_multi_f64_x4(
@@ -440,5 +440,5 @@ svfloat32x4_t test_svmaxnm_multi_f32_x4(svfloat32x4_t zdn, svfloat32x4_t zm) __a
440440
// CPP-CHECK-NEXT: ret <vscale x 8 x double> [[TMP16]]
441441
//
442442
svfloat64x4_t test_svmaxnm_multi_f64_x4(svfloat64x4_t zdn, svfloat64x4_t zm) __arm_streaming {
443-
return SVE_ACLE_FUNC(svmaxnm,_f64_x4,,,)(zdn, zm);
443+
return SVE_ACLE_FUNC(svmaxnm,_f64_x4)(zdn, zm);
444444
}

0 commit comments

Comments
 (0)