Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Grunau <janne-vlc@jannau.net>2019-02-02 16:17:12 +0300
committerJanne Grunau <janne-vlc@jannau.net>2019-02-02 16:47:25 +0300
commit95cd440a99f9e3a25dffc3a318118030a69354d2 (patch)
treef487b808b8468302aaf2e330bff0a50944a465ba /src/arm/32/util.S
parentf1b756ef5bdc0bb759b2b140f15362fec024c1ff (diff)
arm: fix movrel macro for thumb
Diffstat (limited to 'src/arm/32/util.S')
-rw-r--r--src/arm/32/util.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/arm/32/util.S b/src/arm/32/util.S
index 99d16ad..30121ea 100644
--- a/src/arm/32/util.S
+++ b/src/arm/32/util.S
@@ -37,8 +37,7 @@
ldr \rd, 1f
b 2f
1:
-@ FIXME: thumb
- .word 3f - (2f + 8)
+ .word 3f - (2f + 8 - 4 * CONFIG_THUMB)
2:
ldr \rd, [pc, \rd]
.if \offset < 0
@@ -55,8 +54,7 @@
ldr \rd, 1f
b 2f
1:
-@ FIXME: thumb
- .word \val + \offset - (2f + 8)
+ .word \val + \offset - (2f + 8 - 4 * CONFIG_THUMB)
2:
add \rd, \rd, pc
#else