aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/number_theoretic_transform
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-05-14 18:01:28 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-05-14 18:01:28 +0200
commit76abb605749d1b8ddcc842cecb258fa755d63ccf (patch)
treee636a781c4b2b49b346013dec887abeb1badedd0 /test/monniaux/number_theoretic_transform
parent13ea0149e1994c5489d9aed00e7486e49d687889 (diff)
downloadcompcert-kvx-76abb605749d1b8ddcc842cecb258fa755d63ccf.tar.gz
compcert-kvx-76abb605749d1b8ddcc842cecb258fa755d63ccf.zip
Avancement sur la génération de Makefile des benchmarks
Diffstat (limited to 'test/monniaux/number_theoretic_transform')
-rw-r--r--test/monniaux/number_theoretic_transform/Makefile25
-rw-r--r--test/monniaux/number_theoretic_transform/make.proto1
2 files changed, 1 insertions, 25 deletions
diff --git a/test/monniaux/number_theoretic_transform/Makefile b/test/monniaux/number_theoretic_transform/Makefile
deleted file mode 100644
index 701703e1..00000000
--- a/test/monniaux/number_theoretic_transform/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-include ../rules.mk
-
-PRODUCTS=ntt.gcc.host.out ntt.ccomp.host.out ntt.gcc.o1.k1c.out ntt.gcc.k1c.out ntt.ccomp.k1c.out ntt.ccomp.k1c.s ntt.gcc.k1c.s ntt.gcc.k1c ntt.ccomp.k1c ntt.gcc.host ntt.ccomp.host
-
-all: $(PRODUCTS)
-
-ntt.gcc.host: ntt.c ../clock.o
- $(CC) $(CFLAGS) ntt.c ../clock.o -o $@
-
-ntt.ccomp.host: ntt.c ../clock.o
- $(CCOMP) $(CCOMPFLAGS) ntt.c ../clock.o -o $@
-
-ntt.gcc.k1c: ntt.gcc.k1c.o ../clock.gcc.k1c.o
- $(K1C_CC) $(K1C_CFLAGS) $+ -o $@
-
-ntt.gcc.o1.k1c: ntt.gcc.o1.k1c.o ../clock.gcc.k1c.o
- $(K1C_CC) $(K1C_CFLAGS_O1) $+ -o $@
-
-ntt.ccomp.k1c: ntt.ccomp.k1c.o ../clock.gcc.k1c.o
- $(K1C_CCOMP) $(K1C_CCOMPFLAGS) $+ -o $@
-
-clean:
- $(RM) -f *.k1c *.host *.out *.o *.s
-
-.PHONY: clean
diff --git a/test/monniaux/number_theoretic_transform/make.proto b/test/monniaux/number_theoretic_transform/make.proto
new file mode 100644
index 00000000..2d3c7144
--- /dev/null
+++ b/test/monniaux/number_theoretic_transform/make.proto
@@ -0,0 +1 @@
+target: ntt