compositor: Replace shift and conv opcodes by convh in BGRA SOURCE operator

Potentially speeds up processing a bit.
This commit is contained in:
Sebastian Dröge 2019-05-24 15:54:50 +02:00 committed by Sebastian Dröge
parent 2933ef6336
commit 779704b885

View file

@ -142,9 +142,8 @@ storel d, t
.const 4 a_not_alpha 0x00ffffff
loadl t, s
shrul t2, t, 24
convlw tw, t2
convwb tb, tw
convhlw tw, t
convhwb tb, tw
splatbl a, tb
x4 convubw a_wide, a
x4 mullw a_wide, a_wide, alpha