Open Bug 1604670 Opened 4 years ago Updated 2 years ago

Switch webrender math to use intrinsics

Categories

(Core :: Graphics: WebRender, task, P4)

task

Tracking

()

People

(Reporter: ktaeleman, Unassigned)

References

(Blocks 1 open bug)

Details

@pcwalton has created a rust math library that uses intrinsics (https://github.com/servo/pathfinder/tree/master/geometry). We should consider switching webrender to it so we get a performance boost.

Blocks: wr-perf
Priority: -- → P3

I would rather avoid replacing all math types by SIMD equivalents. This tends to generate rather poor code that spends its time shuffling registers. Instead I would prefer that we identify hot arithmetic-heavy pieces of code and SIMDify them at the algorithm level (typically by processing several items at a time).

Blocks: wr-frame-building-perf
No longer blocks: wr-perf
Priority: P3 → P4
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.