mirror of https://git.ffmpeg.org/ffmpeg.git
arm: vp9lpf: Use orrs instead of orr+cmp
This is cherrypicked from libav commit
435cd7bc99
.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
f0ecbb13cf
commit
92ab8374b1
|
@ -78,8 +78,7 @@
|
||||||
|
|
||||||
vdup.u8 d3, r3 @ H
|
vdup.u8 d3, r3 @ H
|
||||||
vmov r2, r3, d4
|
vmov r2, r3, d4
|
||||||
orr r2, r2, r3
|
orrs r2, r2, r3
|
||||||
cmp r2, #0
|
|
||||||
@ If no pixels need filtering, just exit as soon as possible
|
@ If no pixels need filtering, just exit as soon as possible
|
||||||
beq 9f
|
beq 9f
|
||||||
|
|
||||||
|
@ -192,8 +191,7 @@
|
||||||
|
|
||||||
.if \wd >= 8
|
.if \wd >= 8
|
||||||
vmov r2, r3, d6
|
vmov r2, r3, d6
|
||||||
orr r2, r2, r3
|
orrs r2, r2, r3
|
||||||
cmp r2, #0
|
|
||||||
@ If no pixels need flat8in, jump to flat8out
|
@ If no pixels need flat8in, jump to flat8out
|
||||||
@ (or to a writeout of the inner 4 pixels, for wd=8)
|
@ (or to a writeout of the inner 4 pixels, for wd=8)
|
||||||
beq 6f
|
beq 6f
|
||||||
|
@ -248,14 +246,12 @@
|
||||||
6:
|
6:
|
||||||
vorr d2, d6, d7
|
vorr d2, d6, d7
|
||||||
vmov r2, r3, d2
|
vmov r2, r3, d2
|
||||||
orr r2, r2, r3
|
orrs r2, r2, r3
|
||||||
cmp r2, #0
|
|
||||||
@ If no pixels needed flat8in nor flat8out, jump to a
|
@ If no pixels needed flat8in nor flat8out, jump to a
|
||||||
@ writeout of the inner 4 pixels
|
@ writeout of the inner 4 pixels
|
||||||
beq 7f
|
beq 7f
|
||||||
vmov r2, r3, d7
|
vmov r2, r3, d7
|
||||||
orr r2, r2, r3
|
orrs r2, r2, r3
|
||||||
cmp r2, #0
|
|
||||||
@ If no pixels need flat8out, jump to a writeout of the inner 6 pixels
|
@ If no pixels need flat8out, jump to a writeout of the inner 6 pixels
|
||||||
beq 8f
|
beq 8f
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue