This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ARM: add mov32 macro
Originally committed as revision 23888 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård
15 years ago
parent
480cb7edd3
commit
a4edc5a9df
1 changed files
with
11 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
libavcodec/arm/asm.S
+ 11
- 0
libavcodec/arm/asm.S
View File
@@ -49,6 +49,17 @@ ELF .type \name, %function
\name:
\name:
.endm
.endm
.macro mov32 rd, val
#if HAVE_ARMV6T2
movw \rd, #(\val) & 0xffff
.if (\val) >> 16
movt \rd, #(\val) >> 16
.endif
#else
ldr \rd, =\val
#endif
.endm
.macro movrel rd, val
.macro movrel rd, val
#if HAVE_ARMV6T2 && !CONFIG_PIC
#if HAVE_ARMV6T2 && !CONFIG_PIC
movw \rd, #:lower16:\val
movw \rd, #:lower16:\val
Write
Preview
Loading…
Cancel
Save