Open
Bug 1436427
Opened 6 years ago
Updated 2 years ago
Consider optimizing MBoundsCheck followed by MSpectreMaskIndex
Categories
(Core :: JavaScript Engine: JIT, enhancement, P2)
Core
JavaScript Engine: JIT
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox60 | --- | fix-optional |
People
(Reporter: jandem, Unassigned)
References
(Blocks 1 open bug)
Details
Before/during lowering we could check for MBoundsCheck followed by MSpectreMaskIndex with the same index/length operands. In that case we could lower it to a LIR op that does a single cmp followed by a jump + cmov (instead of doing two cmp instructions). This is just a follow-up perf optimization. A good first step would be to instrument a shell build and see if this optimization would hit on benchmarks like Kraken/Octane.
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•