aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/heapsort
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-04-26 16:35:30 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-04-26 16:35:30 +0200
commit24e97bd87918f2c487416744ba12a78aba35a9e5 (patch)
tree839da3cc5ca3ca9976a9e4002e27754501e7fe11 /test/monniaux/heapsort
parent6d1223d053f1ff10792d5ed5d00d3830ff61e9d7 (diff)
downloadcompcert-kvx-24e97bd87918f2c487416744ba12a78aba35a9e5.tar.gz
compcert-kvx-24e97bd87918f2c487416744ba12a78aba35a9e5.zip
Changes to include a -O1 -fschedule-insns2 gcc run as well
Diffstat (limited to 'test/monniaux/heapsort')
-rw-r--r--test/monniaux/heapsort/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/monniaux/heapsort/Makefile b/test/monniaux/heapsort/Makefile
index 6c72a58d..74eb1dea 100644
--- a/test/monniaux/heapsort/Makefile
+++ b/test/monniaux/heapsort/Makefile
@@ -1,6 +1,6 @@
include ../rules.mk
-PRODUCTS=heapsort.gcc.host.out heapsort.ccomp.host.out heapsort.gcc.k1c.out heapsort.ccomp.k1c.out heapsort.ccomp.k1c.s heapsort.gcc.k1c.s heapsort.gcc.k1c heapsort.ccomp.k1c
+PRODUCTS=heapsort.gcc.host.out heapsort.ccomp.host.out heapsort.gcc.o1.k1c.out heapsort.gcc.k1c.out heapsort.ccomp.k1c.out heapsort.ccomp.k1c.s heapsort.gcc.k1c.s heapsort.gcc.k1c heapsort.ccomp.k1c
all: $(PRODUCTS)
@@ -12,6 +12,9 @@ heapsort.ccomp.host: heapsort.c heapsort_run.gcc.host.o heapsort.h
heapsort.gcc.k1c.s heapsort.ccomp.k1c.s heapsort_run.gcc.k1c.s: heapsort.h
+heapsort.gcc.o1.k1c: heapsort.gcc.o1.k1c.o heapsort_run.gcc.o1.k1c.o
+ $(K1C_CC) $(K1C_CFLAGS_O1) $+ -o $@
+
heapsort.gcc.k1c: heapsort.gcc.k1c.o heapsort_run.gcc.k1c.o
$(K1C_CC) $(K1C_CFLAGS) $+ -o $@