Fixup details for non-x86 simd compat, fix CI linux cross-compile
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
6658153ed8
commit
a8a5cea9fb
16 changed files with 165 additions and 182 deletions
|
|
@ -1,26 +1,19 @@
|
|||
/*
|
||||
* DISTRHO Cardinal Plugin
|
||||
* Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License as
|
||||
* published by the Free Software Foundation; either version 3 of
|
||||
* the License, or any later version.
|
||||
*
|
||||
* This program 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 General Public License for more details.
|
||||
*
|
||||
* For a full copy of the GNU General Public License see the LICENSE file.
|
||||
* Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com>
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#if (defined(__i386__) || defined(__x86_64__) || defined(__EMSCRIPTEN__)) && !defined(CARDINAL_NOSIMD)
|
||||
#include "simd-compat.h"
|
||||
|
||||
#ifdef SIMDE_X86_SSE2_NATIVE
|
||||
# include_next <emmintrin.h>
|
||||
#else
|
||||
# include "mmintrin.h"
|
||||
# include "xmmintrin.h"
|
||||
# define SIMDE_ENABLE_NATIVE_ALIASES
|
||||
# include "simde/x86/sse.h"
|
||||
# include "simde/x86/sse2.h"
|
||||
# undef SIMDE_ENABLE_NATIVE_ALIASES
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue