buildtools/cloog/test/nul_basic2.cloog
Jerome Duval 5873a060ca imported PPL 0.11.1 and CLooG 0.18.0.
* 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.
2013-04-06 15:10:34 +02:00

55 lines
733 B
Plaintext

# Optimal code is in fact :
#
# for (i=0;i<=M;i+=2) {
# S1 ;
# }
# language: C
c
# parameter n
1 3
# n 1
1 1 -2
1
n
2 # Number of statements
1
# {i, j | i=2*j; 1<=i<=n}
3 5
# i j n 1
0 1 -2 0 0
1 1 0 0 -1
1 -1 0 1 0
0 0 0
1
# {i, j | i=4*j; 1<=i<=n}
3 5
# i j n 1
0 1 -4 0 0
1 1 0 0 -1
1 -1 0 1 0
0 0 0
0
0 # Scattering functions
5 10
# t1 t2 t3 t4 t5 i j n 1
0 1 0 0 0 0 0 0 0 0
0 0 1 0 0 0 -1 0 0 0
0 0 0 1 0 0 0 0 0 0
0 0 0 0 1 0 0 -1 0 0
0 0 0 0 0 1 0 0 0 0
5 10
# t1 t2 t3 t4 t5 i j n 1
0 1 0 0 0 0 0 0 0 0
0 0 1 0 0 0 -1 0 0 0
0 0 0 1 0 0 0 0 0 0
0 0 0 0 1 0 0 -1 0 0
0 0 0 0 0 1 0 0 0 0
0