Closed
Bug 1638798
Opened 4 years ago
Closed 4 years ago
Optimize generic unary Math functions in CacheIR and Warp
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla78
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
MMathFunction has an enum for all Math functions it handles. It would be really nice to share this enum with CacheIR and add an enum-value => function pointer helper.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•4 years ago
|
||
CacheIR code will use this enum class too.
Assignee | ||
Comment 2•4 years ago
|
||
Already removes some duplication between GVN and CodeGenerator.
Depends on D75805
Assignee | ||
Comment 3•4 years ago
|
||
For now this only optimizes the Math functions where Ion always uses a C++ call.
Depends on D75806
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a1cff83052c
part 1 - Replace MMathFunction::Function enum with UnaryMathFunction enum class. r=evilpie
https://hg.mozilla.org/integration/autoland/rev/c8893d381a57
part 2 - Factor out code to convert UnaryMathFunction to function pointer or string. r=evilpie
https://hg.mozilla.org/integration/autoland/rev/0988119e8cf6
part 3 - Optimize Math functions implemented with a C++ call in CacheIR and Warp. r=evilpie
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9a1cff83052c
https://hg.mozilla.org/mozilla-central/rev/c8893d381a57
https://hg.mozilla.org/mozilla-central/rev/0988119e8cf6
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox78:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in
before you can comment on or make changes to this bug.
Description
•