1 /*  Copyright (C) 2011-2012  Povilas Kanapickas <povilas@radix.lt>
2 
3     Distributed under the Boost Software License, Version 1.0.
4         (See accompanying file LICENSE_1_0.txt or copy at
5             http://www.boost.org/LICENSE_1_0.txt)
6 */
7 
8 #ifndef SIMDPP_TEST_INSN_TESTS_H
9 #define SIMDPP_TEST_INSN_TESTS_H
10 
11 #include "../utils/test_helpers.h"
12 #include "../utils/test_results.h"
13 
14 #include <cstdint>
15 #include <iostream>
16 
17 namespace SIMDPP_ARCH_NAMESPACE {
18 
19 void main_test_function(TestResults& res, TestReporter& tr, const TestOptions& opts);
20 void test_bitwise(TestResults& res, TestReporter& tr);
21 void test_blend(TestResults& res);
22 void test_compare(TestResults& res);
23 void test_convert(TestResults& res);
24 void test_construct(TestResults& res);
25 void test_for_each(TestResults& res, TestReporter& tr);
26 void test_math_fp(TestResults& res, const TestOptions& opts);
27 void test_math_int(TestResults& res);
28 void test_math_shift(TestResults& res);
29 void test_memory_load(TestResults& res, TestReporter& tr);
30 void test_memory_store(TestResults& res, TestReporter& tr);
31 void test_set(TestResults& res);
32 void test_shuffle(TestResults& res);
33 void test_shuffle_bytes(TestResults& res, TestReporter& tr);
34 void test_shuffle_generic(TestResults& res);
35 void test_permute_generic(TestResults& res);
36 void test_shuffle_transpose(TestResults& res);
37 void test_test_utils(TestResults& res);
38 void test_transpose(TestResults& res);
39 
40 } // namespace SIMDPP_ARCH_NAMESPACE
41 
42 std::vector<simdpp::detail::FnVersion> get_test_archs();
43 
44 #endif
45