annotate gcc/testsuite/gcc.dg/vmx/bug-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 #include "harness.h"
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 static vector unsigned char value =
kono
parents:
diff changeset
4 { 0x7c, 0x12, 0x1, 0xd5,
kono
parents:
diff changeset
5 0xc3, 0x99, 0x21, 0xe2,
kono
parents:
diff changeset
6 0x12, 0x57, 0xde, 0x6b,
kono
parents:
diff changeset
7 0x39, 0x66, 0xa8, 0x87 };
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 void initn_c (int p1, int p2, signed char p3, int p4, double p5 ,
kono
parents:
diff changeset
10 vector unsigned char p6, signed char p7)
kono
parents:
diff changeset
11 {
kono
parents:
diff changeset
12 check(p1 == 3, "p1");
kono
parents:
diff changeset
13 check(p2 == 4, "p2");
kono
parents:
diff changeset
14 check(p3 == 5, "p3");
kono
parents:
diff changeset
15 check(p4 == 6, "p4");
kono
parents:
diff changeset
16 check(p5 == 1, "p5");
kono
parents:
diff changeset
17 check(vec_all_eq(p6, value), "p6");
kono
parents:
diff changeset
18 check(p7 == 7, "p7");
kono
parents:
diff changeset
19 }
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 void test()
kono
parents:
diff changeset
22 {
kono
parents:
diff changeset
23 initn_c (3, 4, 5, 6, 1, value, 7);
kono
parents:
diff changeset
24 }