00001 00002 // 00003 // Copyright (c) 2011 Audiokinetic Inc. / All Rights Reserved 00004 // 00006 00007 // AkSimd.h 00008 00011 00012 00013 #pragma once 00014 00015 #include <AK/SoundEngine/Common/AkTypes.h> 00016 00017 #define AKSIMD_GETELEMENT_V4F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00018 #define AKSIMD_GETELEMENT_V2F32( __vName, __num__ ) ((float*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00019 #define AKSIMD_GETELEMENT_V4I32( __vName, __num__ ) ((int*)&(__vName))[(__num__)] ///< Retrieve scalar element from vector. 00020 00021 #ifdef AK_CPU_ARM_NEON 00022 #include <AK/SoundEngine/Platforms/arm_neon/AkSimd.h> 00023 #else 00024 #include <AK/SoundEngine/Platforms/Generic/AkSimd.h> 00025 #endif 00026
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