diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2025-07-22 11:14:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-22 11:14:54 +0100 |
| commit | 19a075211f4b14c5e2bb999b987ff4ed099f2af1 (patch) | |
| tree | 650cde2240c5c00c04fd2ab1de98e48e74c1ede6 /base | |
| parent | 513e6daacebb40425cea7fb3a181f3a6430183ab (diff) | |
| parent | 6c81df82a68a2e573ed119f6b6ebd4cd98463ae6 (diff) | |
Merge pull request #5442 from jon-lipstate/table_lookup
table lookup simd 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 c0685f4db..7e45abb8f 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -314,6 +314,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_runtime_swizzle :: 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 --- |