From 58e5078b6686250b86d654432fea034b730ca36e Mon Sep 17 00:00:00 2001 From: Laytan Laats Date: Thu, 22 Aug 2024 14:17:45 +0200 Subject: [PATCH] add riscv to simd.IS_EMULATED --- core/simd/simd.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/simd/simd.odin b/core/simd/simd.odin index e7b1803c482..01d11dfbe56 100644 --- a/core/simd/simd.odin +++ b/core/simd/simd.odin @@ -8,6 +8,7 @@ import "base:intrinsics" IS_EMULATED :: true when (ODIN_ARCH == .amd64 || ODIN_ARCH == .i386) && !intrinsics.has_target_feature("sse2") else true when (ODIN_ARCH == .arm64 || ODIN_ARCH == .arm32) && !intrinsics.has_target_feature("neon") else true when (ODIN_ARCH == .wasm64p32 || ODIN_ARCH == .wasm32) && !intrinsics.has_target_feature("simd128") else + true when (ODIN_ARCH == .riscv64) && !intrinsics.has_target_feature("v") else false // 128-bit vector aliases