diff options
| author | Jon Lipstate <jon@lipstate.com> | 2025-07-05 13:55:14 -0700 |
|---|---|---|
| committer | Jon Lipstate <jon@lipstate.com> | 2025-07-05 13:55:14 -0700 |
| commit | 019084a17fb179a823a213591b016a43620e47ce (patch) | |
| tree | 35ed6ce8f37eefe9b376b1446a2e8f97c439d409 /base | |
| parent | 1a4139b25c8d7ed780641a94ef628e8867a5e332 (diff) | |
table lookup intrinsic
Diffstat (limited to 'base')
| -rw-r--r-- | base/intrinsics/intrinsics.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin index c1d16c5e4..9edf7bcd8 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -310,6 +310,7 @@ simd_indices :: proc($T: typeid/#simd[$N]$E) -> T where type_is_numeric(T) --- simd_shuffle :: proc(a, b: #simd[N]T, indices: ..int) -> #simd[len(indices)]T --- simd_select :: proc(cond: #simd[N]boolean_or_integer, true, false: #simd[N]T) -> #simd[N]T --- +simd_table_lookup :: proc(table: #simd[N]T, indices: #simd[N]T) -> #simd[N]T where type_is_integer(T) --- // Lane-wise operations simd_ceil :: proc(a: #simd[N]any_float) -> #simd[N]any_float --- |