diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/binary-reader-ir.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binary-reader-ir.cc b/src/binary-reader-ir.cc index 05b2d988..8290b95f 100644 --- a/src/binary-reader-ir.cc +++ b/src/binary-reader-ir.cc @@ -1086,7 +1086,7 @@ Result BinaryReaderIR::OnSimdLoadLaneExpr(Opcode opcode, Address offset, uint64_t value) { return AppendExpr( - MakeUnique<SimdLoadLaneExpr>(opcode, alignment_log2, offset, value)); + MakeUnique<SimdLoadLaneExpr>(opcode, 1 << alignment_log2, offset, value)); } Result BinaryReaderIR::OnSimdStoreLaneExpr(Opcode opcode, @@ -1094,7 +1094,7 @@ Result BinaryReaderIR::OnSimdStoreLaneExpr(Opcode opcode, Address offset, uint64_t value) { return AppendExpr( - MakeUnique<SimdStoreLaneExpr>(opcode, alignment_log2, offset, value)); + MakeUnique<SimdStoreLaneExpr>(opcode, 1 << alignment_log2, offset, value)); } Result BinaryReaderIR::OnSimdShuffleOpExpr(Opcode opcode, v128 value) { |