Revision a4edc5a9 libavcodec/arm/asm.S

View differences:

libavcodec/arm/asm.S
49 49
\name:
50 50
.endm
51 51

  
52
.macro  mov32   rd, val
53
#if HAVE_ARMV6T2
54
        movw            \rd, #(\val) & 0xffff
55
    .if (\val) >> 16
56
        movt            \rd, #(\val) >> 16
57
    .endif
58
#else
59
        ldr             \rd, =\val
60
#endif
61
.endm
62

  
52 63
.macro  movrel rd, val
53 64
#if HAVE_ARMV6T2 && !CONFIG_PIC
54 65
        movw            \rd, #:lower16:\val

Also available in: Unified diff