aboutsummaryrefslogtreecommitdiff
path: root/core/simd
diff options
context:
space:
mode:
authorFeoramund <161657516+Feoramund@users.noreply.github.com>2025-05-29 17:17:51 -0400
committerFeoramund <161657516+Feoramund@users.noreply.github.com>2025-05-29 17:17:51 -0400
commit45219f240efdb5ced113ea10398abe864ee21632 (patch)
treee3452477549bb2172605620ad5b9e14b921d82f1 /core/simd
parentedbd2479722fecef3adc647dfeaee8c09231f7c9 (diff)
Rename `SIMD_IS_EMULATED` to capability-affirmative `HAS_HARDWARE_SIMD`
Diffstat (limited to 'core/simd')
-rw-r--r--core/simd/simd.odin8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/simd/simd.odin b/core/simd/simd.odin
index c6c1e10a0..b4779b5ff 100644
--- a/core/simd/simd.odin
+++ b/core/simd/simd.odin
@@ -26,12 +26,12 @@ import "base:runtime"
/*
Check if SIMD is software-emulated on a target platform.
-This value is `false`, when the compile-time target has the hardware support for
-at 128-bit (or wider) SIMD. If the compile-time target lacks the hardware support
-for 128-bit SIMD, this value is `true`, and all SIMD operations will likely be
+This value is `true`, when the compile-time target has the hardware support for
+at least 128-bit (or wider) SIMD. If the compile-time target lacks the hardware support
+for 128-bit SIMD, this value is `false`, and all SIMD operations will likely be
emulated.
*/
-IS_EMULATED :: runtime.SIMD_IS_EMULATED
+HAS_HARDWARE_SIMD :: runtime.HAS_HARDWARE_SIMD
/*
Vector of 16 `u8` lanes (128 bits).