aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/mmult/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/mppa/mmult/Makefile')
-rw-r--r--test/mppa/mmult/Makefile74
1 files changed, 37 insertions, 37 deletions
diff --git a/test/mppa/mmult/Makefile b/test/mppa/mmult/Makefile
index 9cb5b9e7..bb4506bf 100644
--- a/test/mppa/mmult/Makefile
+++ b/test/mppa/mmult/Makefile
@@ -10,47 +10,47 @@ all: $(ALL)
%-test-k1c: %.c $(PRNG)
k1-gcc -D__UNIT_TEST_$$(echo $(basename $<) | tr a-z A-Z)__ -O2 -std=c99 $^ -o $@
-#test-x86: selection.c merge.c insertion.c test.c $(PRNG)
-# gcc -g -O2 -std=c99 $^ -o $@
-#
-#test-k1c: selection.c merge.c insertion.c test.c $(PRNG)
-# k1-gcc -g -O2 -std=c99 $^ -o $@
-#
-#%.s: %.c
-# ccomp -O2 -S $< -o $@
-#
-#test-ccomp: selection.s merge.s insertion.s test.s $(subst .c,.s,$(PRNG))
-# k1-gcc $^ -o $@
+test-x86: mmult.c $(PRNG)
+ gcc -g -O2 -std=c99 $^ -o $@
+
+test-k1c: mmult.c $(PRNG)
+ k1-gcc -g -O2 -std=c99 $^ -o $@
+
+%.s: %.c
+ ccomp -O2 -S $< -o $@
+
+test-ccomp: mmult.s $(subst .c,.s,$(PRNG))
+ k1-gcc $^ -o $@
.PHONY:
unittest: unittest-x86 unittest-k1c
-#.PHONY:
-#check: check-x86 check-k1c
-
-#.PHONY:
-#compc-check: test-ccomp
-# @if ! k1-cluster -- ./$<; then\
-# >&2 echo "ERROR k1c: sort $< failed";\
-# else\
-# echo "k1c: Test sort $< succeeded";\
-# fi
-#
-#.PHONY:
-#check-x86: test-x86
-# @if ! ./$<; then\
-# >&2 echo "ERROR x86: $< failed";\
-# else\
-# echo "x86: Test $< succeeded";\
-# fi
-#
-#.PHONY:
-#check-k1c: test-k1c
-# @if ! k1-cluster -- ./$<; then\
-# >&2 echo "ERROR k1c: $< failed";\
-# else\
-# echo "k1c: Test $< succeeded";\
-# fi
+.PHONY:
+check: check-x86 check-k1c
+
+.PHONY:
+compc-check: test-ccomp
+ @if ! k1-cluster -- ./$<; then\
+ >&2 echo "ERROR k1c: sort $< failed";\
+ else\
+ echo "k1c: Test sort $< succeeded";\
+ fi
+
+.PHONY:
+check-x86: test-x86
+ @if ! ./$<; then\
+ >&2 echo "ERROR x86: $< failed";\
+ else\
+ echo "x86: Test $< succeeded";\
+ fi
+
+.PHONY:
+check-k1c: test-k1c
+ @if ! k1-cluster -- ./$<; then\
+ >&2 echo "ERROR k1c: $< failed";\
+ else\
+ echo "k1c: Test $< succeeded";\
+ fi
.PHONY:
unittest-x86: mmult-test-x86