diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-05-29 17:17:51 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2025-05-29 17:17:51 -0400 |
| commit | 45219f240efdb5ced113ea10398abe864ee21632 (patch) | |
| tree | e3452477549bb2172605620ad5b9e14b921d82f1 /core/simd | |
| parent | edbd2479722fecef3adc647dfeaee8c09231f7c9 (diff) | |
Rename `SIMD_IS_EMULATED` to capability-affirmative `HAS_HARDWARE_SIMD`
Diffstat (limited to 'core/simd')
| -rw-r--r-- | core/simd/simd.odin | 8 |
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). |