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

Function splatFloat

deps/v8/test/mjsunit/wasm/simd-fp16.js:14–14  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

12 const addRes = builder.addGlobal(kWasmF32, true).exportAs('add');
13 const subRes = builder.addGlobal(kWasmF32, true).exportAs('sub');
14 const splatFloat = (f) => [wasmF32Const(f), kSimdPrefix, kExprF16x8Splat];
15 const simdBin = (op, lhs, rhs) => [lhs, rhs, kSimdPrefix, op];
16 const localTee = (idx, val) => [val, kExprLocalTee, idx];
17 builder.addFunction("main", kSig_v_v)

Callers 1

simd-fp16.jsFile · 0.85

Calls 1

wasmF32ConstFunction · 0.70

Tested by

no test coverage detected