UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
radaudio_sse.h
Go to the documentation of this file.
1// Copyright Epic Games Tools, LLC. All Rights Reserved.
2#ifndef RADAUDIO_SSE_H
3#define RADAUDIO_SSE_H
4
5#include "rrCore.h"
6#include "cpux86.h"
7
8// Enable SIMD kernels when we have a known processor.
9#if defined(__RADJAGUAR__)
10#define DO_BUILD_SSE4
11#endif
12
13#if defined(__RADZEN2__)
14#define DO_BUILD_SSE4
15#define DO_BUILD_AVX2
16#endif
17
18
19#if defined(__RADARM64__)
20#define DO_BUILD_NEON
21#endif
22
23// If we are on a platform we can cpuid on and select, then we build relevant kernels,
24// unless we are ios simulator, then we never build advanced simd kernels (because passing
25// the switches is a pain in cdep)
26#if defined(RRX86_CPU_DYNAMIC_DETECT) && !defined(__RADIPHONE__)
27#define DO_BUILD_SSE4
28#define DO_BUILD_AVX2
29#endif
30
31#endif // RADAUDIO_SSE_H