diff options
| author | gingerBill <bill@gingerbill.org> | 2022-05-26 11:14:22 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-05-26 11:14:22 +0100 |
| commit | 7ec0236fbf55939ef46662a732b00908730f826b (patch) | |
| tree | 5ca74a442892c211c334d3d1d91eb242aeb3dafe /core/simd | |
| parent | 0fd43c1a0b697ea919efdeef42427694f32692bf (diff) | |
Add `simd_reverse`
Diffstat (limited to 'core/simd')
| -rw-r--r-- | core/simd/simd.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/simd/simd.odin b/core/simd/simd.odin index 9c37c380c..060e32323 100644 --- a/core/simd/simd.odin +++ b/core/simd/simd.odin @@ -90,6 +90,8 @@ floor :: intrinsics.simd_floor trunc :: intrinsics.simd_trunc nearest :: intrinsics.simd_nearest +reverse :: intrinsics.simd_reverse + splat :: #force_inline proc "contextless" ($T: typeid/#simd[$LANES]$E, value: E) -> T { return T{0..<LANES = value} } |