Searched refs:vec (Results 1 - 25 of 566) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/g++.dg/init/
H A Darray10.C4 typedef int __attribute__((vector_size (8))) vec; typedef
6 vec foo[] = { (vec) {1, 2} };
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A Dsimd-6.c3 typedef int __attribute__((vector_size (8))) vec; typedef
5 vec a[] = {(vec) {1, 2}, {3, 4}};
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/ext/
H A Dpr56790-1.C5 typedef long vec __attribute__ ((vector_size (2 * sizeof (long)))); typedef
7 vec f (void)
9 vec a = { 5, 7 };
10 vec b = { 11, 13 };
11 vec m = { -1, 0 };
H A Dvector2.C5 typedef int vec __attribute__ ((vector_size (8))); typedef
6 extern int bar (vec);
10 vec a[] = { (vec) { 0, i }, (vec) { 4, 5 } };
H A Dvector20.C3 typedef long vec __attribute__((vector_size (2 * sizeof (long)))); typedef
4 constexpr vec v = { 3, 4 };
5 constexpr vec s = v + v;
6 constexpr vec w = __builtin_shuffle (v, v);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dunion-cast-1.c8 int vec; variable
11 foo5 (int vec) argument
13 ((union vx) vec).f[5] = 1;
H A Dunion-cast-2.c9 int vec; variable
12 foo5 (int vec) argument
14 ((union vx) vec).f[5] = 1; /* { dg-error "(forbids subscripting)|(forbids casts to union type)" } */
H A Dunion-cast-3.c8 int vec; variable
11 foo5 (int vec) argument
13 ((union vx) vec).f[5] = 1; /* { dg-error "forbids casts to union type" } */
H A Dfold-cstvecshift.c4 typedef int vec __attribute__ ((vector_size (4 * sizeof (int)))); typedef
6 void f (vec *r)
8 vec a = { 2, 3, 4, 5 };
H A Dpr57286.c4 typedef int vec __attribute__ ((vector_size (4*sizeof(int)))); typedef
5 void f (vec *x){
H A Dvector-shift.c4 typedef unsigned vec __attribute__ ((vector_size (4 * sizeof (int)))); typedef
7 f (vec *x)
H A Dvector-shift-2.c4 typedef unsigned vec __attribute__ ((vector_size (4*sizeof(int)))); typedef
6 f (vec *a)
8 vec s = { 5, 5, 5, 5 };
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/
H A Dpointer_remapping_1.f9013 INTEGER, POINTER :: vec(:), mat(:, :) variable in program:main
15 vec => arr ! This is ok.
17 vec(2:) => arr ! { dg-error "Fortran 2003" }
H A Dfmt_t_1.f902 integer nrow, vec(15) variable
8 read (10, fmt='(i6, (t7, 6i2))') nrow, (vec(i), i=1,15)
11 if (any (vec.ne.(/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15/))) call abort
H A Dforall_14.f9010 real :: vec(4) variable in program:forallBug
15 vec(j) = sin(2*3.14159/j)
H A Darray_constructor_42.f9014 real :: vec(1:2) local in subroutine:s
15 vec = (/ real(a = 1), 1. /)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/opt/
H A Dpr47639.c4 typedef int __attribute__ ((vector_size (8))) vec; typedef
6 vec foo (vec v1, vec v2)
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/
H A Dstack-usage-realign.c6 typedef int __attribute__((vector_size(16))) vec; typedef
8 vec foo (vec v)
15 vec V;
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dfoldconst-6.c4 typedef long vec __attribute__ ((vector_size (2 * sizeof(long)))); typedef
6 void f (vec *r)
8 vec a = { -2, 666 };
9 vec b = { 3, 2 };
H A Dforwprop-19.c4 typedef int vec __attribute__((vector_size (4 * sizeof (int)))); typedef
5 void f (vec *x1, vec *x2)
7 vec m = { 1, 2, 3, 0 };
8 vec n = { 3, 0, 1, 2 };
9 vec y = __builtin_shuffle (*x1, *x2, n);
10 vec z = __builtin_shuffle (y, m);
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/powerpc/
H A Dpr63335.c9 vector double vec = (vector double) {99.0, 99.0}; variable
13 int actual = vec_all_nge(vec, vec);
17 actual = vec_all_nle(vec, vec);
21 actual = vec_any_nge(vec, vec);
25 actual = vec_any_nle(vec, vec);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/vect/
H A Dnodump-forwprop-22.c6 typedef double vec __attribute__((vector_size (2 * sizeof (double)))); typedef
7 void f (vec *px, vec *y, vec *z)
9 vec x = *px;
10 vec t1 = { x[1], x[0] };
11 vec t2 = { x[0], x[1] };
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/
H A Dscal-to-vec2.c15 typedef unsigned int vec __attribute__((vector_size(16))); typedef
17 vec i;
20 vec fv1(void) { return i + (h ? f() : g()); }
21 vec fv2(void) { return (h ? f() : g()) + i; }
/haiku-buildtools/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dnest4.C4 class vec { class
7 ::vec::blah satan( 0);// { dg-error "" } .*
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tm/
H A Dpr52173-1.c4 int vec[500]; variable
10 vec[123] = 456;

Completed in 100 milliseconds

1234567891011>>