mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-12 08:47:41 +01:00
5873a060ca
* these are dependencies for gcc 4 Graphite engine build. * CLooG 0.18.0 includes ISL 0.11.1 which is the backend that the build script enables. * PPL is needed by GCC build even if it isn't the chosen backend.
32 lines
860 B
C
32 lines
860 B
C
/* Generated from /home/skimo/git/cloog/test/constbound.cloog by CLooG 0.14.0-170-g72daac3 64 bits in 0.01s. */
|
|
extern void hash(int);
|
|
|
|
/* Useful macros. */
|
|
#define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
|
|
#define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
|
|
#define max(x,y) ((x) > (y) ? (x) : (y))
|
|
#define min(x,y) ((x) < (y) ? (x) : (y))
|
|
|
|
#define S1(i,j,k) { hash(1); hash(i); hash(j); hash(k); }
|
|
#define S2(i,j,k) { hash(2); hash(i); hash(j); hash(k); }
|
|
|
|
void test()
|
|
{
|
|
/* Scattering iterators. */
|
|
int t0, t2, t3;
|
|
/* Original iterators. */
|
|
int i, j, k;
|
|
for (t0=0;t0<=199;t0++) {
|
|
for (t2=max(0,50*t0);t2<=50*t0+24;t2++) {
|
|
for (t3=0;t3<=t2;t3++) {
|
|
S1(t0,t2,t3);
|
|
}
|
|
}
|
|
for (t2=50*t0+25;t2<=min(9999,50*t0+49);t2++) {
|
|
for (t3=0;t3<=t2;t3++) {
|
|
S2(t0,t2,t3);
|
|
}
|
|
}
|
|
}
|
|
}
|