Skip to content

Commit

Permalink
Fix wasm-encoder encodings for new relaxed instructions (#768)
Browse files Browse the repository at this point in the history
Looks like a few copy/paste errors
  • Loading branch information
alexcrichton committed Sep 19, 2022
1 parent 6dee72f commit 589ff55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/wasm-encoder/src/core/code.rs
Expand Up @@ -2397,15 +2397,15 @@ impl Encode for Instruction<'_> {
}
Instruction::I16x8DotI8x16I7x16S => {
sink.push(0xFD);
0x111u32.encode(sink);
0x112u32.encode(sink);
}
Instruction::I32x4DotI8x16I7x16AddS => {
sink.push(0xFD);
0x111u32.encode(sink);
0x113u32.encode(sink);
}
Instruction::F32x4RelaxedDotBf16x8AddF32x4 => {
sink.push(0xFD);
0x111u32.encode(sink);
0x114u32.encode(sink);
}

// Atmoic instructions from the thread proposal
Expand Down

0 comments on commit 589ff55

Please sign in to comment.