include/AK/SoundEngine/Common/AkSimd.h
説明を見る。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
00030
00031
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_VITA )
00055
00056 #include <AK/SoundEngine/Platforms/Vita/AkSimd.h>
00057
00058 #elif defined( AK_ANDROID )
00059
00060 #include <AK/SoundEngine/Platforms/Android/AkSimd.h>
00061
00062 #elif defined( AK_PS4 )
00063
00064 #include <AK/SoundEngine/Platforms/PS4/AkSimd.h>
00065
00066 #elif defined( AK_LINUX )
00067
00068 #include <AK/SoundEngine/Platforms/Linux/AkSimd.h>
00069
00070 #elif defined( AK_EMSCRIPTEN )
00071
00072 #include <AK/SoundEngine/Platforms/Emscripten/AkSimd.h>
00073
00074 #elif defined( AK_QNX )
00075
00076 #include <AK/SoundEngine/Platforms/QNX/AkSimd.h>
00077
00078 #elif defined( AK_NX )
00079
00080 #include <AK/SoundEngine/Platforms/NX/AkSimd.h>
00081
00082 #else
00083 #error Unsupported platform, or platform-specific SIMD not defined
00084 #endif
00085
00086 #ifndef AKSIMD_ASSERTFLUSHZEROMODE
00087 #define AKSIMD_ASSERTFLUSHZEROMODE
00088 #endif
00089
00090 #ifndef AKSIMD_DECLARE_V4F32_TYPE
00091 #define AKSIMD_DECLARE_V4F32_TYPE AKSIMD_V4F32
00092 #endif
00093
00094 #ifndef AKSIMD_DECLARE_V4I32_TYPE
00095 #define AKSIMD_DECLARE_V4I32_TYPE AKSIMD_V4I32
00096 #endif
00097
00098 #ifndef AKSIMD_DECLARE_V4F32
00099 #define AKSIMD_DECLARE_V4F32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4F32_TYPE _x = { _a, _b, _c, _d }
00100 #endif
00101
00102 #ifndef AKSIMD_DECLARE_V4I32
00103 #define AKSIMD_DECLARE_V4I32( _x, _a, _b, _c, _d ) AKSIMD_DECLARE_V4I32_TYPE _x = { _a, _b, _c, _d }
00104 #endif
00105
00106 #ifndef AKSIMD_SETELEMENT_V4F32
00107 #define AKSIMD_SETELEMENT_V4F32( __vName__, __num__, __value__ ) ( AKSIMD_GETELEMENT_V4F32( __vName__, __num__ ) = (__value__) )
00108 #endif
00109
00110 #endif //_AK_DATA_TYPES_H_
あなたのプロジェクトについて教えてください。ご不明な点はありませんか。
プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。
Wwiseからはじめよう