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

Method OnSimdLoadLane

src/shared-validator.cc:1286–1299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1284}
1285
1286Result SharedValidator::OnSimdLoadLane(const Location& loc,
1287 Opcode opcode,
1288 Var memidx,
1289 Address alignment,
1290 Address offset,
1291 uint64_t value) {
1292 Result result = CheckInstr(opcode, loc);
1293 MemoryType mt;
1294 result |= CheckMemoryIndex(memidx, &mt);
1295 result |= CheckAlign(loc, alignment, opcode.GetMemorySize());
1296 result |= CheckOffset(loc, offset, mt.limits);
1297 result |= typechecker_.OnSimdLoadLane(opcode, mt.limits, value);
1298 return result;
1299}
1300
1301Result SharedValidator::OnSimdStoreLane(const Location& loc,
1302 Opcode opcode,

Callers

nothing calls this directly

Calls 1

GetMemorySizeMethod · 0.80

Tested by

no test coverage detected