summaryrefslogtreecommitdiff
path: root/cloog-core/test/reservoir/mg-resid.c
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-09-09 02:18:21 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-09-09 02:18:21 +0900
commit40ef93558be42b604f5eb912414f767972a70b8c (patch)
treedd3a18995e2d72f452f3804d87b8a205f0f0a936 /cloog-core/test/reservoir/mg-resid.c
parenteea72ec0021ec2c1c84631af37435123c063eaf1 (diff)
downloadcloog-tizen_2.3.1.tar.gz
cloog-tizen_2.3.1.tar.bz2
cloog-tizen_2.3.1.zip
Diffstat (limited to 'cloog-core/test/reservoir/mg-resid.c')
-rw-r--r--cloog-core/test/reservoir/mg-resid.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/cloog-core/test/reservoir/mg-resid.c b/cloog-core/test/reservoir/mg-resid.c
new file mode 100644
index 0000000..89a3cda
--- /dev/null
+++ b/cloog-core/test/reservoir/mg-resid.c
@@ -0,0 +1,39 @@
+/* Generated from /home/skimo/git/cloog/test/./reservoir/mg-resid.cloog by CLooG 0.14.0-284-ga90f184 gmp bits in 0.03s. */
+if ((M >= 1) && (N >= 3) && (O >= 3)) {
+ if (M >= 3) {
+ for (c2=2;c2<=O-1;c2++) {
+ for (c6=1;c6<=M;c6++) {
+ S1(c2,2,c6);
+ S2(c2,2,c6);
+ }
+ for (c4=4;c4<=2*N-3;c4++) {
+ for (c6=1;c6<=M;c6++) {
+ if ((c4+1)%2 == 0) {
+ S1(c2,(c4+1)/2,c6);
+ S2(c2,(c4+1)/2,c6);
+ }
+ }
+ for (c6=2;c6<=M-1;c6++) {
+ if (c4%2 == 0) {
+ S3(c2,c4/2,c6);
+ }
+ }
+ }
+ for (c6=2;c6<=M-1;c6++) {
+ S3(c2,N-1,c6);
+ }
+ }
+ }
+ if (M <= 2) {
+ for (c2=2;c2<=O-1;c2++) {
+ for (c4=3;c4<=2*N-3;c4++) {
+ for (c6=1;c6<=M;c6++) {
+ if ((c4+1)%2 == 0) {
+ S1(c2,(c4+1)/2,c6);
+ S2(c2,(c4+1)/2,c6);
+ }
+ }
+ }
+ }
+ }
+}