Skip to content

Commit f402871

Browse files
committed
Fix SIMD prototype block staging
1 parent 514cd50 commit f402871

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/simd/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,8 +271,8 @@ where
271271
A: Alphabet,
272272
{
273273
let mut staged = [
274-
input[0], input[1], input[2], 0, input[3], input[4], input[5], 0, input[6], input[7],
275-
input[8], 0, input[9], input[10], input[11], 0,
274+
input[0], input[1], input[2], input[3], input[4], input[5], input[6], input[7], input[8],
275+
input[9], input[10], input[11], 0, 0, 0, 0,
276276
];
277277
let shuffle_mask = [2, 1, 0, 255, 5, 4, 3, 255, 8, 7, 6, 255, 11, 10, 9, 255];
278278

src/simd/wasm.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ where
8484
A: Alphabet,
8585
{
8686
let mut staged = [
87-
input[0], input[1], input[2], 0, input[3], input[4], input[5], 0, input[6], input[7],
88-
input[8], 0, input[9], input[10], input[11], 0,
87+
input[0], input[1], input[2], input[3], input[4], input[5], input[6], input[7], input[8],
88+
input[9], input[10], input[11], 0, 0, 0, 0,
8989
];
9090

9191
// SAFETY: Fixed arrays back every 128-bit load/store, the target-feature

0 commit comments

Comments
 (0)