aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/arm/mpegvideo_armv5te_s.S
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-31 23:58:58 +0100
committerMans Rullgard <mans@mansr.com>2012-08-01 10:32:24 +0100
commit998170913c759c45f913f9c20d7b18e6505f7cde (patch)
tree315ca1b9f375d9ba37b97db16bea64fd4c9343e6 /libavcodec/arm/mpegvideo_armv5te_s.S
parentb6a3849adb0381a437952a785d39e22cb3b00282 (diff)
downloadffmpeg-998170913c759c45f913f9c20d7b18e6505f7cde.tar.gz
ARM: use standard syntax for all LDRD/STRD instructions
The standard syntax requires two destination registers for LDRD/STRD instructions. Some versions of the GNU assembler allow using only one with the second implicit, others are more strict. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/mpegvideo_armv5te_s.S')
-rw-r--r--libavcodec/arm/mpegvideo_armv5te_s.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/arm/mpegvideo_armv5te_s.S b/libavcodec/arm/mpegvideo_armv5te_s.S
index ec95346d37..4426e15e91 100644
--- a/libavcodec/arm/mpegvideo_armv5te_s.S
+++ b/libavcodec/arm/mpegvideo_armv5te_s.S
@@ -61,9 +61,9 @@ function ff_dct_unquantize_h263_armv5te, export=1
mov ip, #0
subs r3, r3, #2
ble 2f
- ldrd r4, [r0, #0]
+ ldrd r4, r5, [r0, #0]
1:
- ldrd r6, [r0, #8]
+ ldrd r6, r7, [r0, #8]
dequant_t r9, r4, r1, r2, r9
dequant_t lr, r5, r1, r2, lr
@@ -87,7 +87,7 @@ function ff_dct_unquantize_h263_armv5te, export=1
subs r3, r3, #8
it gt
- ldrdgt r4, [r0, #0] /* load data early to avoid load/use pipeline stall */
+ ldrdgt r4, r5, [r0, #0] /* load data early to avoid load/use pipeline stall */
bgt 1b
adds r3, r3, #2