OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [3d-01.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
#include <altivec.h>
3
int i;
4
 
5
void
6
test_vec_all_gt(vector unsigned char u8a, vector unsigned char u8b)
7
{
8
  if (vec_all_gt(u8a, u8b))
9
    i = 1;
10
}
11
 
12
void
13
test_vec_all_le(vector unsigned char u8a, vector unsigned char u8b)
14
{
15
  if (vec_all_le(u8a, u8b))
16
    i = 1;
17
}
18
 
19
void
20
test_vec_any_gt(vector unsigned char u8a, vector unsigned char u8b)
21
{
22
  if (vec_any_gt(u8a, u8b))
23
    i = 1;
24
}
25
 
26
void
27
test_vec_any_le(vector unsigned char u8a, vector unsigned char u8b)
28
{
29
  if (vec_any_le(u8a, u8b))
30
    i = 1;
31
}
32
 
33
void
34
test_vec_all_lt(vector unsigned char u8a, vector unsigned char u8b)
35
{
36
  if (vec_all_lt(u8a, u8b))
37
    i = 1;
38
}
39
 
40
void
41
test_vec_all_ge(vector unsigned char u8a, vector unsigned char u8b)
42
{
43
  if (vec_all_ge(u8a, u8b))
44
    i = 1;
45
}
46
 
47
void
48
test_vec_any_lt(vector unsigned char u8a, vector unsigned char u8b)
49
{
50
  if (vec_any_lt(u8a, u8b))
51
    i = 1;
52
}
53
 
54
void
55
test_vec_any_ge(vector unsigned char u8a, vector unsigned char u8b)
56
{
57
  if (vec_any_ge(u8a, u8b))
58
    i = 1;
59
}
60
 
61
void
62
test_vec_all_eq(vector unsigned char u8a, vector unsigned char u8b)
63
{
64
  if (vec_all_eq(u8a, u8b))
65
    i = 1;
66
}
67
 
68
void
69
test_vec_all_ne(vector unsigned char u8a, vector unsigned char u8b)
70
{
71
  if (vec_all_ne(u8a, u8b))
72
    i = 1;
73
}
74
 
75
void
76
test_vec_any_eq(vector unsigned char u8a, vector unsigned char u8b)
77
{
78
  if (vec_any_eq(u8a, u8b))
79
    i = 1;
80
}
81
 
82
void
83
test_vec_any_ne(vector unsigned char u8a, vector unsigned char u8b)
84
{
85
  if (vec_any_ne(u8a, u8b))
86
    i = 1;
87
}
88
 
89
void
90
test_not_vec_all_gt(vector unsigned char u8a, vector unsigned char u8b)
91
{
92
  if (!vec_all_gt(u8a, u8b))
93
    i = 1;
94
}
95
 
96
void
97
test_not_vec_all_le(vector unsigned char u8a, vector unsigned char u8b)
98
{
99
  if (!vec_all_le(u8a, u8b))
100
    i = 1;
101
}
102
 
103
void
104
test_not_vec_any_gt(vector unsigned char u8a, vector unsigned char u8b)
105
{
106
  if (!vec_any_gt(u8a, u8b))
107
    i = 1;
108
}
109
 
110
void
111
test_not_vec_any_le(vector unsigned char u8a, vector unsigned char u8b)
112
{
113
  if (!vec_any_le(u8a, u8b))
114
    i = 1;
115
}
116
 
117
void
118
test_not_vec_all_lt(vector unsigned char u8a, vector unsigned char u8b)
119
{
120
  if (!vec_all_lt(u8a, u8b))
121
    i = 1;
122
}
123
 
124
void
125
test_not_vec_all_ge(vector unsigned char u8a, vector unsigned char u8b)
126
{
127
  if (!vec_all_ge(u8a, u8b))
128
    i = 1;
129
}
130
 
131
void
132
test_not_vec_any_lt(vector unsigned char u8a, vector unsigned char u8b)
133
{
134
  if (!vec_any_lt(u8a, u8b))
135
    i = 1;
136
}
137
 
138
void
139
test_not_vec_any_ge(vector unsigned char u8a, vector unsigned char u8b)
140
{
141
  if (!vec_any_ge(u8a, u8b))
142
    i = 1;
143
}
144
 
145
void
146
test_not_vec_all_eq(vector unsigned char u8a, vector unsigned char u8b)
147
{
148
  if (!vec_all_eq(u8a, u8b))
149
    i = 1;
150
}
151
 
152
void
153
test_not_vec_all_ne(vector unsigned char u8a, vector unsigned char u8b)
154
{
155
  if (!vec_all_ne(u8a, u8b))
156
    i = 1;
157
}
158
 
159
void
160
test_not_vec_any_eq(vector unsigned char u8a, vector unsigned char u8b)
161
{
162
  if (!vec_any_eq(u8a, u8b))
163
    i = 1;
164
}
165
 
166
void
167
test_not_vec_any_ne(vector unsigned char u8a, vector unsigned char u8b)
168
{
169
  if (!vec_any_ne(u8a, u8b))
170
    i = 1;
171
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.