aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/tacle-bench-powerwindow/Makefile
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/tacle-bench-powerwindow/Makefile
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/tacle-bench-powerwindow/Makefile')
-rw-r--r--test/monniaux/tacle-bench-powerwindow/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/monniaux/tacle-bench-powerwindow/Makefile b/test/monniaux/tacle-bench-powerwindow/Makefile
index a739417e..560a0cf9 100644
--- a/test/monniaux/tacle-bench-powerwindow/Makefile
+++ b/test/monniaux/tacle-bench-powerwindow/Makefile
@@ -11,6 +11,7 @@ HFILES= kill_pragma.h wcclib.h \
$(wildcard powerwindow_HeaderFiles/*.h)
K1C_GCC_OFILES=$(CFILES:.c=.gcc.k1c.o)
+K1C_GCC_OFILES_O1=$(CFILES:.c=.gcc.o1.k1c.o)
K1C_CCOMP_OFILES=$(CFILES:.c=.ccomp.k1c.o)
K1C_GCC_SFILES=$(CFILES:.c=.gcc.k1c.s)
K1C_CCOMP_SFILES=$(CFILES:.c=.ccomp.k1c.s)
@@ -20,7 +21,7 @@ HOST_CCOMP_OFILES=$(CFILES:.c=.ccomp.host.o)
HOST_GCC_SFILES=$(CFILES:.c=.gcc.host.s)
HOST_CCOMP_SFILES=$(CFILES:.c=.ccomp.host.s)
-all: powerwindow.gcc.k1c.out powerwindow.ccomp.k1c.out $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES)
+all: powerwindow.gcc.o1.k1c.out powerwindow.gcc.k1c.out powerwindow.ccomp.k1c.out $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES)
include ../rules.mk
@@ -29,6 +30,9 @@ $(K1C_GCC_SFILES) $(K1C_CCOMP_SFILES) $(HOST_GCC_SFILES) $(HOST_CCOMP_SFILES) :
powerwindow.gcc.k1c: $(K1C_GCC_OFILES)
$(K1C_CC) $(K1C_CFLAGS) -o $@ $+ ../clock.gcc.k1c.o
+powerwindow.gcc.o1.k1c: $(K1C_GCC_OFILES_O1)
+ $(K1C_CC) $(K1C_CFLAGS_O1) -o $@ $+ ../clock.gcc.k1c.o
+
powerwindow.ccomp.k1c: $(K1C_CCOMP_OFILES)
$(K1C_CCOMP) $(K1C_CCOMPFLAGS) -o $@ $+ ../clock.gcc.k1c.o