Skip to content

Commit 6eb68f8

Browse files
author
Bruno Larsen (billionai)
committed
fixup! tests/tcg;ppc64le: tests for the other blend instructions
1 parent 8ac9226 commit 6eb68f8

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

tests/tcg/ppc64le/blendvd.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33

44
void blendvd(quadword *a, quadword *b, quadword *c, quadword *ret)
55
{
6+
/*
67
asm("xxblendvd %[xt], %[xa], %[xb], %[xc]"
78
: [xt] "=v" (*ret)
89
: [xa] "v" (*a)
910
, [xb] "v" (*b)
1011
, [xc] "v" (*c));
12+
*/
1113
}
1214

1315
int main(){
1416
printf("quadword blendvd_outputs[] = {\n");
15-
/*return*/ vtest4(blendvd, blendvd_outputs);
17+
/*return*/ vtest4(blendvd, NULL /*blendvd_outputs*/);
1618
printf("};\n");
1719
}

tests/tcg/ppc64le/blendvh.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33

44
void blendvh(quadword *a, quadword *b, quadword *c, quadword *ret)
55
{
6+
/*
67
asm("xxblendvh %[xt], %[xa], %[xb], %[xc]"
78
: [xt] "=v" (*ret)
89
: [xa] "v" (*a)
910
, [xb] "v" (*b)
1011
, [xc] "v" (*c));
12+
*/
1113
}
1214

1315
int main(){
1416
printf("quadword blendvh_outputs[] = {\n");
15-
/*return*/ vtest4(blendvh, blendvh_outputs);
17+
/*return*/ vtest4(blendvh, NULL /*blendvh_outputs*/);
1618
printf("};\n");
1719
}

tests/tcg/ppc64le/blendvw.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33

44
void blendvw(quadword *a, quadword *b, quadword *c, quadword *ret)
55
{
6+
/*
67
asm("xxblendvw %[xt], %[xa], %[xb], %[xc]"
78
: [xt] "=v" (*ret)
89
: [xa] "v" (*a)
910
, [xb] "v" (*b)
1011
, [xc] "v" (*c));
12+
*/
1113
}
1214

1315
int main(){
1416
printf("quadword blendvw_outputs[] = {\n");
15-
/*return*/ vtest4(blendvw, blendvw_outputs);
17+
/*return*/ vtest4(blendvw, NULL /*blendvw_outputs*/);
1618
printf("};\n");
1719
}

0 commit comments

Comments
 (0)