MCPcopy Create free account
hub / github.com/WebAssembly/wabt / OnSimdLoadLaneExpr

Method OnSimdLoadLaneExpr

src/interp/binary-reader-interp.cc:991–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

989}
990
991Result BinaryReaderInterp::OnSimdLoadLaneExpr(Opcode opcode,
992 Index memidx,
993 Address alignment_log2,
994 Address offset,
995 uint64_t value) {
996 CHECK_RESULT(validator_.OnSimdLoadLane(
997 GetLocation(), opcode, Var(memidx, GetLocation()),
998 GetAlignment(alignment_log2), offset, value));
999 istream_.Emit(opcode, memidx, offset, static_cast<u8>(value));
1000 return Result::Ok;
1001}
1002
1003Result BinaryReaderInterp::OnSimdStoreLaneExpr(Opcode opcode,
1004 Index memidx,

Callers

nothing calls this directly

Calls 4

GetAlignmentFunction · 0.85
EmitMethod · 0.80
VarClass · 0.50
OnSimdLoadLaneMethod · 0.45

Tested by

no test coverage detected