Open Bug 1696103 Opened 4 years ago Updated 4 years ago

SIMD optimization ARM64: Fuse shuffle + multiply into a single multiply-vector-by-scalar

Categories

(Core :: JavaScript: WebAssembly, enhancement, P3)

ARM64
All
enhancement

Tracking

()

People

(Reporter: lth, Unassigned)

References

(Blocks 1 open bug)

Details

From https://bugs.chromium.org/p/v8/issues/detail?id=11257:

"Wasm SIMD does not have an opcode to multiply a vector by a scalar. In these cases, Wasm code uses mul(x, shuffle(y, imms)), where the shuffle is a dup of a single lane in y. Pattern match on this to emit a fmul (element)."

Pertains to f32x4 and f64x2.

See Also: → 1700316
See Also: → 1700317
You need to log in before you can comment on or make changes to this bug.