00001 00002 // 00003 // Copyright (c) 2006 Audiokinetic Inc. / All Rights Reserved 00004 // 00006 00007 // AkSimd.h 00008 00011 00012 00013 00014 #ifndef _AKSIMD_PLATFORM_H_ 00015 #define _AKSIMD_PLATFORM_H_ 00016 00017 #include <AK/SoundEngine/Common/AkTypes.h> 00018 00019 #undef AKSIMD_GETELEMENT_V4F32 00020 #define AKSIMD_GETELEMENT_V4F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00021 00022 #undef AKSIMD_GETELEMENT_V2F32 00023 #define AKSIMD_GETELEMENT_V2F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00024 00025 #undef AKSIMD_GETELEMENT_V4I32 00026 #define AKSIMD_GETELEMENT_V4I32( __vName, __num__ ) ((int*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00027 00028 #ifdef AK_CPU_ARM_NEON 00029 #define AK_IOS_ARM_NEON 00030 #include <AK/SoundEngine/Platforms/arm_neon/AkSimd.h> 00031 #else 00032 #include <AK/SoundEngine/Platforms/Generic/AkSimd.h> 00033 #endif 00034 #endif //_AKSIMD_PLATFORM_H_ 00035
Questions? Problems? Need more info? Contact us, and we can help!
Visit our Support pageRegister your project and we'll help you get started with no strings attached!
Get started with Wwise