Diffusion Krita 37bc55be416f

Using Vc::reciprocal() and SSE instead of division in OverCompositor32

Authored by Pandas on Aug 15 2017, 12:11 PM.

Description

Using Vc::reciprocal() and SSE instead of division in OverCompositor32

Summary:
Instead of the usual division, we can use the division of 1 by the
number (reciprocal) and multiplying it by the dividend in the original
fraction. Also, the use of Vc::reciprocal() and intrinsics using SSE in
total gives us an acceleration of up to 30%.


.

Reviewers: dkazakov, Krita
Reviewed By: dkazakov, Krita
Subscribers: alvinhochun, woltherav
Tags: Krita

Differential Revision: https://phabricator.kde.org/D7314

Details

Committed
remptAug 15 2017, 1:21 PM
Reviewer
Krita
Differential Revision
D7314: Using Vc::reciprocal() and SSE instead of division in OverCompositor32
Parents
R37:89edcb67362e: rm tilt opacity on oils presets
Branches
Unknown
Tags
Unknown