MCPcopy Create free account
hub / github.com/nodejs/node / SimdInstr

Function SimdInstr

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:545–548  ·  view source on GitHub ↗
(opcode)

Source from the content-addressed store, hash-verified

543
544// Use these for multi-byte instructions (opcode > 0x7F needing two LEB bytes):
545function SimdInstr(opcode) {
546 if (opcode <= 0x7F) return [kSimdPrefix, opcode];
547 return [kSimdPrefix, 0x80 | (opcode & 0x7F), opcode >> 7];
548}
549function GCInstr(opcode) {
550 if (opcode <= 0x7F) return [kGCPrefix, opcode];
551 return [kGCPrefix, 0x80 | (opcode & 0x7F), opcode >> 7];

Callers 15

half-shuffles.jsFile · 0.85
simd-dot-i8.jsFile · 0.85
simd-usaddw.jsFile · 0.85
simd-ussubw.jsFile · 0.85
simd-ussubl.jsFile · 0.85
simd-usaddl.jsFile · 0.85
shuffles.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected