This commit is contained in:
bjorn3
2021-11-01 18:19:59 +01:00
parent 93e9bb02e4
commit 86d2ef8952
2 changed files with 4 additions and 4 deletions

View File

@@ -76,12 +76,12 @@ where
.as_slice();
DataValue::V128(buffer.try_into().expect("a 16-byte data buffer"))
}
InstructionData::Shuffle { mask, .. } => {
InstructionData::Shuffle { imm, .. } => {
let mask = state
.get_current_function()
.dfg
.immediates
.get(mask)
.get(imm)
.unwrap()
.as_slice();
DataValue::V128(mask.try_into().expect("a 16-byte vector mask"))