shithub: dav1d

Download patch

ref: e65abadff6872d319ece76c8617604c628c3126e
parent: 863c3731dc635be394229c0169833c668c5dda13
author: Janne Grunau <[email protected]>
date: Wed Sep 4 11:08:11 EDT 2019

arm: Fix assembling with older binutils

This large constant needs a movw instruction, which newer binutils can
figure out, but older versions need stated explicitly.

This fixes #296.

--- a/src/arm/32/mc.S
+++ b/src/arm/32/mc.S
@@ -229,7 +229,7 @@
         sub             r8,  r8,  #24
         ldr             r8,  [r9,  r8,  lsl #2]
         add             r9,  r9,  r8
-        mov             r12, #6903
+        movw            r12, #6903
         vdup.16         q14, r12
 .if \type == 444
         vmov.i8         q15, #64