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)

task

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: nobody → jdemooij
Status: NEW → ASSIGNED

Already removes some duplication between GVN and CodeGenerator.

Depends on D75805

For now this only optimizes the Math functions where Ion always uses a C++ call.

Depends on D75806

Blocks: 1639113
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
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: