ref: aff9a2105583b33cef55935e62faba3814d12013
parent: 09d90658f13c87bcc4af03897731901843e57123
author: Martin Storsjö <martin@martin.st>
date: Fri Feb 14 18:48:13 EST 2020
arm32: cdef: Fix a typo for consistency The signedness of elements doesn't matter for vsub; match the vsub.i16 next to it.
--- a/src/arm/32/cdef.S
+++ b/src/arm/32/cdef.S
@@ -324,7 +324,7 @@
vqsub.u16 q9, \thresh_vec, q9 // clip = imax(0, threshold - (abs(diff) >> shift))
vqsub.u16 q12, \thresh_vec, q12// clip = imax(0, threshold - (abs(diff) >> shift))
vsub.i16 q10, \s1, q0 // diff = p0 - px
- vsub.u16 q13, \s2, q0 // diff = p1 - px
+ vsub.i16 q13, \s2, q0 // diff = p1 - px
vneg.s16 q8, q9 // -clip
vneg.s16 q11, q12 // -clip
vmin.s16 q10, q10, q9 // imin(diff, clip)