Skip to content

Commit

Permalink
add riscv to simd.IS_EMULATED
Browse files Browse the repository at this point in the history
  • Loading branch information
laytan committed Aug 22, 2024
1 parent 70932dc commit 58e5078
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/simd/simd.odin
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 58e5078

Please sign in to comment.