Go to the documentation of this file.
37 #define AKSIMD_GETELEMENT_V4F32( __vName, __num__ ) ((AkReal32*)&(__vName))[(__num__)]
38 #define AKSIMD_GETELEMENT_V2F32( __vName, __num__ ) ((AkReal32*)&(__vName))[(__num__)]
39 #define AKSIMD_GETELEMENT_V2F64( __vName, __num__ ) ((AkReal64*)&(__vName))[(__num__)]
40 #define AKSIMD_GETELEMENT_V4I32( __vName, __num__ ) ((AkInt32*)&(__vName))[(__num__)]
41 #define AKSIMD_GETELEMENT_V2I64( __vName, __num__ ) ((AkInt64*)&(__vName))[(__num__)]
46 #if defined( AK_WIN ) || defined( AK_XBOX )
50 #elif defined( AK_APPLE )
52 #include <TargetConditionals.h>
55 #elif defined( AK_ANDROID )
59 #elif defined( AK_HARMONY )
63 #elif defined( AK_PS4 )
67 #elif defined( AK_PS5 )
71 #elif defined( AK_LINUX )
75 #elif defined( AK_EMSCRIPTEN )
79 #elif defined( AK_QNX )
81 #include <AK/SoundEngine/Platforms/QNX/AkSimd.h>
83 #elif defined( AK_NX )
88 #error Unsupported platform, or platform-specific SIMD not defined
94 #ifndef AKSIMD_ASSERTFLUSHZEROMODE
95 #define AKSIMD_ASSERTFLUSHZEROMODE
98 #ifndef AKSIMD_DECLARE_V4F32_TYPE
99 #define AKSIMD_DECLARE_V4F32_TYPE AKSIMD_V4F32
102 #ifndef AKSIMD_DECLARE_V4I32_TYPE
103 #define AKSIMD_DECLARE_V4I32_TYPE AKSIMD_V4I32
106 #ifndef AKSIMD_DECLARE_V4F32
107 #define AKSIMD_DECLARE_V4F32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4F32_TYPE _x = { _a, _b, _c, _d }
110 #ifndef AKSIMD_DECLARE_V4I32
111 #define AKSIMD_DECLARE_V4I32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4I32_TYPE _x = { _a, _b, _c, _d }
114 #ifndef AKSIMD_SETELEMENT_V4F32
115 #define AKSIMD_SETELEMENT_V4F32( __vName__, __num__, __value__ ) ( AKSIMD_GETELEMENT_V4F32( __vName__, __num__ ) = (__value__) )
AkForceInline void AKSIMD_TRANSPOSE4X4_V4F32(AKSIMD_V4F32 &A, AKSIMD_V4F32 &B, AKSIMD_V4F32 &C, AKSIMD_V4F32 &D)
Tell us about your project. We're here to help.
Register your project and we'll help you get started with no strings attached!
Get started with Wwise