Searched refs:sum (Results 1 - 25 of 404) sorted by relevance

1234567891011>>

/haiku-buildtools/gcc/gcc/testsuite/gcc.target/powerpc/
H A Dvsx-float0.c10 float sum (float *p, unsigned long n) function
12 float sum = 0.0f; /* generate xxlxor instead of load */ local
14 sum += *p++;
16 return sum;
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/bfin/
H A Dloop-autoinc.c9 int sum = 0; local
11 sum += x[i];
12 if (sum & 1)
13 sum *= sum;
15 return sum;
/haiku-buildtools/gcc/gcc/testsuite/go.go-torture/execute/
H A Dfor-1.go4 sum := 0;
6 sum += i;
8 if sum != 45 { panic(0) }
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A Dlong_branch.c21 sum = sum / (n + 1); \
22 sum = restore (sum, n + 1); \
23 if (sum == (n + addend)) \
25 sum = sum / (n + 2); \
26 sum = restore (sum, n + 2); \
27 sum
100 long long sum = selector + 1; local
[all...]
H A Dmacro-fusion-2.c6 double bar (double sum) argument
11 sum += (0.5 + (a[i%100] - 128));
14 return sum;
H A Dgnu89-init-4.c8 int sum = 0; int i; local
10 sum = a[i];
11 return sum;
H A Dpr24820.c5 double bar (double sum) argument
9 sum += floor (0.5 + (i - 128));
10 return sum;
H A Dfold-abs-5.c4 int test (int a, int b, int sum) argument
6 sum += ((a - b) > 0 ? (a - b) : -(a - b));
7 return sum;
H A Dmacro-fusion-1.c6 double bar (double sum) argument
10 sum += (0.5 + (a[i%100] - 128));
11 return sum;
H A DWstrict-overflow-15.c10 int sum = 0; local
13 sum += __builtin_abs (i); /* { dg-warning "assuming signed overflow does not occur" "" { xfail *-*-* } } */
14 return sum;
H A DWstrict-overflow-14.c10 int sum = 0; local
13 sum += i / 16; /* { dg-warning "assuming signed overflow does not occur" "" { xfail *-*-* } } */
14 return sum;
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/
H A Drange-for1.C11 int sum = 0; local
13 sum += x;
14 if (sum != 10)
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/gomp/
H A Dpr41967.C8 int sum = 0; local
13 ++sum;
14 ++sum; // { dg-error "collapsed loops not perfectly nested" }
16 return sum;
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dssa-dom-cse-2.c8 int i, sum; local
10 sum = 0;
12 sum += a[i];
14 return sum;
H A Dloop-23.c10 int sum; local
15 sum += bla (i);
16 sum += bla (2*i);
17 sum += bla (3*i);
18 sum += bla (4*i);
19 sum += bla (5*i);
20 sum += bla (6*i);
21 sum += bla (7*i);
22 sum += bla (8*i);
24 return sum;
[all...]
H A Dpr36181.c7 int i, sum = 0, data[1024]; local
10 sum += data[i];
12 return sum;
H A Dloop-1.c27 int sum; local
30 sum += foo (x) * 2;
31 return sum;
H A Dreassoc-17.c6 double tmp1, tmp2, sum; local
7 sum = 0.0;
9 sum = 1.0;
10 tmp1 = sum/ddj;
H A Dloop-38.c10 int sum = 0; local
13 sum+=a[i];
15 sum+=b[i];
16 return sum;
H A Dreassoc-28.c9 unsigned sum = 0, i = 0; local
11 sum +=(buf)[n-1];
16 sum += buf[n-2];
17 sum += buf[n-3];
18 sum += buf[n-4];
22 return sum + i;
28 int sum = foo (a, LENGTH); local
29 if (sum != 4)
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20001108-1.c2 signed_poly (long long sum, long x) argument
4 sum += (long long) (long) sum * (long long) x;
5 return sum;
9 unsigned_poly (unsigned long long sum, unsigned long x) argument
11 sum += (unsigned long long) (unsigned long) sum * (unsigned long long) x;
12 return sum;
H A D20030105-1.c5 int i, sum; local
7 sum = 0;
9 sum += a[i];
11 return sum;
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20000717-1.c5 short sum = 0; local
8 sum += (*a++) * (*b++);
10 return sum;
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/vect/
H A Dpr50014.c6 int sum = 0; local
10 sum += 256 * s[i];
12 return sum;
/haiku-buildtools/gcc/gcc/testsuite/gfortran.dg/goacc/
H A Dreduction-2.f955 integer :: i, sum variable in program:reduction
7 call redsub (sum, n, c)
10 subroutine redsub(sum, n, c)
11 integer :: sum, n, c local in subroutine:redsub
13 sum = 0
16 !$acc loop reduction(+:sum)
18 sum = sum + c

Completed in 229 milliseconds

1234567891011>>