Add SIMD support to Web with SSE4.2

This commit is contained in:
Wojtek Figat
2026-03-13 10:21:21 +01:00
parent c91c209974
commit 2cb12e3c0f
2 changed files with 25 additions and 2 deletions

View File

@@ -5,7 +5,9 @@
#include "Engine/Core/Types/String.h"
#include "Engine/Core/Types/StringView.h"
#if PLATFORM_SIMD_SSE4_2
#if PLATFORM_WEB
#define RAPIDJSON_SSE2
#elif PLATFORM_SIMD_SSE4_2
#define RAPIDJSON_SSE42
#elif PLATFORM_SIMD_SSE2
#define RAPIDJSON_SSE2