include/AK/SoundEngine/Common/AkSimd.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00032
00033 #ifndef _AK_SIMD_H_
00034 #define _AK_SIMD_H_
00035
00036 #include <AK/SoundEngine/Common/AkTypes.h>
00037
00038
00039
00040
00041 #if defined( AK_WIN ) || defined( AK_XBOXONE )
00042
00043 #include <AK/SoundEngine/Platforms/Windows/AkSimd.h>
00044
00045 #elif defined( AK_APPLE )
00046
00047 #include <TargetConditionals.h>
00048 #if TARGET_OS_IPHONE
00049 #include <AK/SoundEngine/Platforms/iOS/AkSimd.h>
00050 #else
00051 #include <AK/SoundEngine/Platforms/Mac/AkSimd.h>
00052 #endif
00053
00054 #elif defined( AK_XBOX360 )
00055
00056 #include <AK/SoundEngine/Platforms/XBox360/AkSimd.h>
00057
00058 #elif defined (AK_PS3)
00059
00060 #include <AK/SoundEngine/Platforms/PS3/AkSimd.h>
00061 #elif defined( AK_WII )
00062
00063 #include <AK/SoundEngine/Platforms/Generic/AkSimd.h>
00064
00065 #elif defined( AK_VITA )
00066
00067 #include <AK/SoundEngine/Platforms/Vita/AkSimd.h>
00068
00069 #elif defined( AK_3DS )
00070
00071 #include <AK/SoundEngine/Platforms/3DS/AkSimd.h>
00072
00073 #elif defined( AK_ANDROID )
00074
00075 #include <AK/SoundEngine/Platforms/Android/AkSimd.h>
00076
00077 #elif defined( AK_NACL )
00078
00079 #include <AK/SoundEngine/Platforms/nacl/AkSimd.h>
00080
00081 #elif defined( AK_WIIU )
00082
00083 #include <AK/SoundEngine/Platforms/WiiFamily/AkSimd.h>
00084
00085 #elif defined( AK_PS4 )
00086
00087 #include <AK/SoundEngine/Platforms/PS4/AkSimd.h>
00088
00089 #elif defined( AK_LINUX )
00090
00091 #include <AK/SoundEngine/Platforms/Linux/AkSimd.h>
00092
00093 #elif defined( AK_EMSCRIPTEN )
00094
00095 #include <AK/SoundEngine/Platforms/Emscripten/AkSimd.h>
00096
00097 #elif defined( AK_QNX )
00098
00099 #include <AK/SoundEngine/Platforms/QNX/AkSimd.h>
00100
00101 #elif defined( AK_NX )
00102
00103 #include <AK/SoundEngine/Platforms/NX/AkSimd.h>
00104
00105 #else
00106 #error Unsupported platform, or platform-specific SIMD not defined
00107 #endif
00108
00109 #ifndef AKSIMD_ASSERTFLUSHZEROMODE
00110 #define AKSIMD_ASSERTFLUSHZEROMODE
00111 #endif
00112
00113 #ifndef AKSIMD_DECLARE_V4F32_TYPE
00114 #define AKSIMD_DECLARE_V4F32_TYPE AKSIMD_V4F32
00115 #endif
00116
00117 #ifndef AKSIMD_DECLARE_V4I32_TYPE
00118 #define AKSIMD_DECLARE_V4I32_TYPE AKSIMD_V4I32
00119 #endif
00120
00121 #ifndef AKSIMD_DECLARE_V4F32
00122 #define AKSIMD_DECLARE_V4F32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4F32_TYPE _x = { _a, _b, _c, _d }
00123 #endif
00124
00125 #ifndef AKSIMD_DECLARE_V4I32
00126 #define AKSIMD_DECLARE_V4I32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4I32_TYPE _x = { _a, _b, _c, _d }
00127 #endif
00128
00129 #ifndef AKSIMD_SETELEMENT_V4F32
00130 #define AKSIMD_SETELEMENT_V4F32( __vName__, __num__, __value__ ) ( AKSIMD_GETELEMENT_V4F32( __vName__, __num__ ) = (__value__) )
00131 #endif
00132
00133 #endif //_AK_DATA_TYPES_H_
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅