aboutsummaryrefslogtreecommitdiff
path: root/src/ThreadPool.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-12-11 15:18:33 +0100
committerLuuk de Gram <luuk@degram.dev>2022-12-12 17:42:00 +0100
commit355b5929b2c49422b92e7aa7374c7e4f0008f400 (patch)
tree3a191aa6206f967e497e256dd7562c6b5ac985dc /src/ThreadPool.zig
parentc6d654f73bbe80ed3653be6a31ddcaa4772a4fe2 (diff)
downloadzig-355b5929b2c49422b92e7aa7374c7e4f0008f400.tar.gz
zig-355b5929b2c49422b92e7aa7374c7e4f0008f400.zip
wasm: `splat` for vector elements divisible by 8
This implements `@splat` for vectors where the element type is divisible by 8 and a power of two. This is fairly simple as we can store the values directly within the virtual stack. But for all other sizes, we must first shift and bitwise-or the values before we can store them to fit them like a packed-struct, rather than an array.
Diffstat (limited to 'src/ThreadPool.zig')
0 files changed, 0 insertions, 0 deletions