aboutsummaryrefslogtreecommitdiffstats
path: root/test/mppa/sort/selection.h
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2018-04-17 12:01:18 +0200
committerCyril SIX <cyril.six@kalray.eu>2018-04-17 12:01:18 +0200
commiteb1e1c79fa3fc882b68c67d781f7b64e74e00828 (patch)
tree03fb9efaa3023f29e86d821572e669ebed515df4 /test/mppa/sort/selection.h
parent04722ad007e7a4f0cef7fd2fd08a6f3219138299 (diff)
downloadcompcert-kvx-eb1e1c79fa3fc882b68c67d781f7b64e74e00828.tar.gz
compcert-kvx-eb1e1c79fa3fc882b68c67d781f7b64e74e00828.zip
MPPA - tests - added insertion sort and selection sort
Diffstat (limited to 'test/mppa/sort/selection.h')
-rw-r--r--test/mppa/sort/selection.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/mppa/sort/selection.h b/test/mppa/sort/selection.h
new file mode 100644
index 00000000..b2b4aebe
--- /dev/null
+++ b/test/mppa/sort/selection.h
@@ -0,0 +1,6 @@
+#ifndef __SELECTION_H__
+#define __SELECTION_H__
+
+int selection_sort(uint64_t *res, const uint64_t *T, int size);
+
+#endif // __SELECTION_H__