History

ARM: add helper macro for declaring constant data

Mans Rullgard committed 15 years ago

Commit 01b75fa1 parent fe2ff6d1 file · +10 −0Browse files

Unified · Split

libavcodec/arm/asm.S+10−0
@@ -50,6 +50,16 @@ ELF .type \name, %function · 49 unmodified lines
50\name:50\name:
51.endm51.endm
52 52
53.macro const name, align=2
54 .macro endconst
55ELF .size \name, . - \name
56 .purgem endconst
57 .endm
58 .section .rodata
59 .align \align
60\name:
61.endm
62
53.macro mov32 rd, val63.macro mov32 rd, val
54#if HAVE_ARMV6T264#if HAVE_ARMV6T2
55 movw \rd, #(\val) & 0xffff65 movw \rd, #(\val) & 0xffff

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t