aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-12 20:44:06 +0100
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2019-03-12 20:44:06 +0100
commit72e3e2dd1c73469ac2475c2787d2e85437d53b35 (patch)
tree335327d2ac22169684bb69418aa0800580dae1b7 /test/monniaux
parent691b6d46629006eca9cefcd54f3c513698db5c17 (diff)
downloadcompcert-kvx-72e3e2dd1c73469ac2475c2787d2e85437d53b35.tar.gz
compcert-kvx-72e3e2dd1c73469ac2475c2787d2e85437d53b35.zip
-fpostpass-ilp
Diffstat (limited to 'test/monniaux')
-rw-r--r--test/monniaux/quicksort/Makefile9
-rw-r--r--test/monniaux/rules.mk2
2 files changed, 2 insertions, 9 deletions
diff --git a/test/monniaux/quicksort/Makefile b/test/monniaux/quicksort/Makefile
index e6e83210..98da795a 100644
--- a/test/monniaux/quicksort/Makefile
+++ b/test/monniaux/quicksort/Makefile
@@ -1,8 +1,4 @@
-CFLAGS=-Wall -O3
-K1C_CC=k1-mbr-gcc
-K1C_CFLAGS=-Wall -std=c99 -O2
-K1C_CCOMP=../../../ccomp
-K1C_CCOMPFLAGS=-Wall -O3
+include ../rules.mk
PRODUCTS=quicksort.host quicksort.gcc.k1c.out quicksort.ccomp.k1c.out quicksort.ccomp.k1c.s quicksort.gcc.k1c.s quicksort.gcc.k1c quicksort.ccomp.k1c
@@ -31,9 +27,6 @@ quicksort.gcc.k1c: quicksort.gcc.k1c.o quicksort_run.gcc.k1c.o
quicksort.ccomp.k1c: quicksort.ccomp.k1c.o quicksort_run.gcc.k1c.o
$(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@
-%.k1c.out: %.k1c
- k1-cluster --cycle-based -- $< | tee $@
-
clean:
$(RM) -f $(PRODUCTS) quicksort.gcc.k1c.o quicksort.ccomp.k1c.o quicksort_run.gcc.k1c.o quicksort_run.gcc.k1c.s
diff --git a/test/monniaux/rules.mk b/test/monniaux/rules.mk
index ff75b977..eec216bd 100644
--- a/test/monniaux/rules.mk
+++ b/test/monniaux/rules.mk
@@ -7,7 +7,7 @@ K1C_CC=k1-mbr-gcc
K1C_CFLAGS =-g -std=c99 -O2 -Wall -Wextra -Werror=implicit
K1C_CCOMP = ../../../ccomp
-K1C_CCOMPFLAGS=-O3 -Wall -Wno-c11-extensions -fno-unprototyped
+K1C_CCOMPFLAGS=-O3 -Wall -Wno-c11-extensions -fno-unprototyped # -fpostpass-ilp
EXECUTE=k1-cluster --syscall=libstd_scalls.so --