rsimd

Make SIMD instruction sets easier to use
git clone git://git.meso-star.fr/rsimd.git
Log | Files | Refs | README | LICENSE

commit 22c4cc5c14708ffc2d4620b9950da3cc1d101830
parent 0e1e4c09f7844bf674cb02e2c93be421b1206346
Author: vaplv <vaplv@free.fr>
Date:   Sun, 10 Mar 2019 20:34:43 +0100

Remove the useless test_soaXfY_utils file

Diffstat:
Dsrc/test_soaXf_utils.h | 48------------------------------------------------
1 file changed, 0 insertions(+), 48 deletions(-)

diff --git a/src/test_soaXf_utils.h b/src/test_soaXf_utils.h @@ -1,48 +0,0 @@ -/* Copyright (C) 2014-2019 Vincent Forest (vaplv@free.fr) - * - * The RSIMD library is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * The RSIMD library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with the RSIMD library. If not, see <http://www.gnu.org/licenses/>. */ - -#ifndef TEST_SOAXF_UTILS_H -#define TEST_SOAXF_UTILS_H - -#define V4TRUE ~0, ~0, ~0, ~0 -#define V4FALSE 0, 0, 0, 0 -#define CHECK_V4MASK__(Mask, A, B, C, D) \ - { \ - const v4f_T mask__ = (Mask); \ - CHK(v4f_mask_x(mask__) == (A)); \ - CHK(v4f_mask_y(mask__) == (B)); \ - CHK(v4f_mask_z(mask__) == (C)); \ - CHK(v4f_mask_w(mask__) == (D)); \ - } (void)0 -#define CHECK_V4MASK(Mask, Vec) CHECK_V4MASK__(Mask, Vec) - -#define V8TRUE ~0, ~0, ~0, ~0, ~0, ~0, ~0, ~0 -#define V8FALSE 0, 0, 0, 0, 0, 0, 0, 0 -#define CHECK_V8MASK__(Mask, A, B, C, D, E, F, G, H) \ - { \ - const v8f_T mask__ = (Mask); \ - CHK(v4f_mask_x(v8f_abcd(mask__)) == (A)); \ - CHK(v4f_mask_y(v8f_abcd(mask__)) == (B)); \ - CHK(v4f_mask_z(v8f_abcd(mask__)) == (C)); \ - CHK(v4f_mask_w(v8f_abcd(mask__)) == (D)); \ - CHK(v4f_mask_x(v8f_efgh(mask__)) == (E)); \ - CHK(v4f_mask_y(v8f_efgh(mask__)) == (F)); \ - CHK(v4f_mask_z(v8f_efgh(mask__)) == (G)); \ - CHK(v4f_mask_w(v8f_efgh(mask__)) == (H)); \ - } (void)0 -#define CHECK_V8MASK(Mask, Vec) CHECK_V8MASK__(Mask, Vec) - -#endif /* TEST_SOAXF_UTILS_H */ -