Commit eb7077ed authored by Martin Storsjö's avatar Martin Storsjö

arm: cdef: Remove leftover unused labels and macro parameters

These were missed in 361a3c8e.
parent e3dbf926
Pipeline #13738 passed with stages
in 7 minutes and 35 seconds
......@@ -310,7 +310,7 @@ endconst
vld1.16 {\d22}, [r9] // p1
.endif
.endm
.macro handle_pixel s1, s2, threshold, thresh_vec, shift, tap, min
.macro handle_pixel s1, s2, thresh_vec, shift, tap, min
.if \min
vmin.u16 q2, q2, \s1
vmax.s16 q3, q3, \s1
......@@ -334,7 +334,6 @@ endconst
vmax.s16 q13, q13, q11 // constrain() = imax(imin(diff, clip), -clip)
vmla.i16 q1, q10, q9 // sum += taps[k] * constrain()
vmla.i16 q1, q13, q9 // sum += taps[k] * constrain()
3:
.endm
// void dav1d_cdef_filterX_8bpc_neon(pixel *dst, ptrdiff_t dst_stride,
......@@ -407,7 +406,7 @@ function cdef_filter\w\suffix\()_neon
.if \pri
ldrb r12, [r8] // *pri_taps
handle_pixel q14, q15, r3, q5, q4, r12, \min
handle_pixel q14, q15, q5, q4, r12, \min
.endif
.if \sec
......@@ -416,11 +415,11 @@ function cdef_filter\w\suffix\()_neon
add r5, r5, #8 // +2*4
ldrsb r9, [r5] // off3
handle_pixel q14, q15, r4, q7, q6, lr, \min
handle_pixel q14, q15, q7, q6, lr, \min
load_px d28, d29, d30, d31, \w
handle_pixel q14, q15, r4, q7, q6, lr, \min
handle_pixel q14, q15, q7, q6, lr, \min
sub r5, r5, #11 // r5 -= 2*(2+4); r5 += 1;
.else
......
......@@ -74,7 +74,7 @@ endconst
ld1 {\d2\().d}[1], [x9] // p1
.endif
.endm
.macro handle_pixel s1, s2, threshold, thresh_vec, shift, tap, min
.macro handle_pixel s1, s2, thresh_vec, shift, tap, min
.if \min
umin v2.8h, v2.8h, \s1\().8h
smax v3.8h, v3.8h, \s1\().8h
......@@ -98,7 +98,6 @@ endconst
smax v22.8h, v22.8h, v20.8h // constrain() = imax(imin(diff, clip), -clip)
mla v1.8h, v18.8h, v19.8h // sum += taps[k] * constrain()
mla v1.8h, v22.8h, v19.8h // sum += taps[k] * constrain()
3:
.endm
// void dav1d_cdef_filterX_Ybpc_neon(pixel *dst, ptrdiff_t dst_stride,
......@@ -182,7 +181,7 @@ function cdef_filter\w\suffix\()_\bpc\()bpc_neon
.if \pri
ldrb w10, [x8] // *pri_taps
handle_pixel v4, v5, w3, v25.8h, v24.8h, w10, \min
handle_pixel v4, v5, v25.8h, v24.8h, w10, \min
.endif
.if \sec
......@@ -190,9 +189,9 @@ function cdef_filter\w\suffix\()_\bpc\()bpc_neon
ldrb w9, [x5] // off3
load_px v4, v5, \w
handle_pixel v6, v7, w4, v27.8h, v26.8h, w11, \min
handle_pixel v6, v7, v27.8h, v26.8h, w11, \min
handle_pixel v4, v5, w4, v27.8h, v26.8h, w11, \min
handle_pixel v4, v5, v27.8h, v26.8h, w11, \min
sub x5, x5, #11 // x5 -= 2*(2+4); x5 += 1;
.else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment