av1_convolve_ x,y _avx2() -- use 256 bit load/store
[aom.git] / test / hiprec_convolve_test.cc
blob177fba24f3ea1dfb4321a19e98101ac13d008de7
1 /*
2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved
4 * This source code is subject to the terms of the BSD 2 Clause License and
5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
6 * was not distributed with this source code in the LICENSE file, you can
7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
8 * Media Patent License 1.0 was not distributed with this source code in the
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
12 #include "third_party/googletest/src/googletest/include/gtest/gtest.h"
13 #include "test/hiprec_convolve_test_util.h"
15 using std::tr1::tuple;
16 using std::tr1::make_tuple;
17 using libaom_test::ACMRandom;
18 using libaom_test::AV1HiprecConvolve::AV1HiprecConvolveTest;
19 using libaom_test::AV1HighbdHiprecConvolve::AV1HighbdHiprecConvolveTest;
21 namespace {
23 #if HAVE_SSE2
24 TEST_P(AV1HiprecConvolveTest, CheckOutput) { RunCheckOutput(GET_PARAM(3)); }
26 INSTANTIATE_TEST_CASE_P(SSE2, AV1HiprecConvolveTest,
27 libaom_test::AV1HiprecConvolve::BuildParams(
28 aom_convolve8_add_src_hip_sse2));
29 #endif
31 #if HAVE_SSSE3
32 TEST_P(AV1HighbdHiprecConvolveTest, CheckOutput) {
33 RunCheckOutput(GET_PARAM(4));
36 INSTANTIATE_TEST_CASE_P(SSSE3, AV1HighbdHiprecConvolveTest,
37 libaom_test::AV1HighbdHiprecConvolve::BuildParams(
38 aom_highbd_convolve8_add_src_hip_ssse3));
40 #endif
42 } // namespace