diff options
author | Mans Rullgard <mans@mansr.com> | 2012-08-02 19:17:16 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-09-20 17:07:18 +0100 |
commit | a27a690fac6d9f42464039702f8cde6777778a53 (patch) | |
tree | 239f30a80039406ad5a41205b0fe26a92b797928 /libavutil | |
parent | 0122118ec32087cf3522bf14a1c4e34cb7d95a67 (diff) | |
download | ffmpeg-streaming-a27a690fac6d9f42464039702f8cde6777778a53.zip ffmpeg-streaming-a27a690fac6d9f42464039702f8cde6777778a53.tar.gz |
ARM: swap source operands in some add instructions
This allows using a 16-bit opcode when generating Thumb2 code.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/arm/asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index 7b3832a..45e4aab 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -142,7 +142,7 @@ ELF .size \name, . - \name .if \indir ldr \rd, [pc, \rd] .else - add \rd, pc, \rd + add \rd, \rd, pc .endif def_pic \val - (.Lpic\@ + (8 >> CONFIG_THUMB)), .Lpicoff\@ .endm |