shithub: dav1d

Download patch

ref: dcbbf775ea72bca6a342f25a490bb6d7a75fe548
parent: 564482b67ea23ab590530aa3713918d237247736
author: Martin Storsjö <martin@martin.st>
date: Sun Nov 10 06:02:41 EST 2019

arm: 64: loopfilter: Avoid nested ifdefs where easily possible

This was requested in the review of the arm32 version of the same.

--- a/src/arm/64/loopfilter.S
+++ b/src/arm/64/loopfilter.S
@@ -37,10 +37,10 @@
 .if \wd >= 6
         uabd            v4.16b,  v21.16b, v22.16b // abs(p2 - p1)
         uabd            v5.16b,  v26.16b, v25.16b // abs(q2 - q1)
+.endif
 .if \wd >= 8
         uabd            v6.16b,  v20.16b, v21.16b // abs(p3 - p2)
         uabd            v7.16b,  v27.16b, v26.16b // abs(q3 - q3)
-.endif
 .endif
 .if \wd >= 6
         umax            v4.16b,  v4.16b,  v5.16b