FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
simd.h
1
21#pragma once
22
23#include <freerdp/config.h>
24
25/* https://sourceforge.net/p/predef/wiki/Architectures/
26 *
27 * contains a list of defined symbols for each compiler
28 */
29#if defined(WITH_SIMD)
30#if defined(_M_IX86) || defined(_M_AMD64) || defined(_M_IA64) || defined(_M_IX86_AMD64) || \
31 defined(__amd64__) || defined(__amd64) || defined(__x86_64__) || defined(__x86_64) || \
32 defined(__i686__) || defined(__ia64__)
33#define SSE_AVX_INTRINSICS_ENABLED
34#endif
35
36// Inspired by llvm arm_neon.h header checks
37#if defined(__ARM_NEON) && defined(__ARM_FP)
38#define NEON_INTRINSICS_ENABLED
39#endif
40#endif