Browse code

ARM: enable UAL syntax in asm.S

This enables UAL syntax for all asm files instead of only those
which happen to be incompatible with the old, deprecated syntax.

Signed-off-by: Mans Rullgard <mans@mansr.com>

Mans Rullgard authored on 2011/05/29 22:22:52
Showing 5 changed files
... ...
@@ -26,6 +26,8 @@
26 26
 #   define ELF @
27 27
 #endif
28 28
 
29
+        .syntax unified
30
+
29 31
 .macro  require8 val=1
30 32
 ELF     .eabi_attribute 24, \val
31 33
 .endm
... ...
@@ -21,7 +21,6 @@
21 21
 #include "config.h"
22 22
 #include "asm.S"
23 23
 
24
-        .syntax unified
25 24
 /*
26 25
  * VFP is a floating point coprocessor used in some ARM cores. VFP11 has 1 cycle
27 26
  * throughput for almost all the instructions (except for double precision
... ...
@@ -21,8 +21,6 @@
21 21
 #include "config.h"
22 22
 #include "asm.S"
23 23
 
24
-        .syntax unified
25
-
26 24
 /**
27 25
  * ARM VFP optimized float to int16 conversion.
28 26
  * Assume that len is a positive number and is multiple of 8, destination
... ...
@@ -95,7 +95,7 @@ function ff_dct_unquantize_h263_armv5te, export=1
95 95
         strh            lr, [r0], #2
96 96
 
97 97
         subs            r3, r3, #8
98
-        ldrgtd          r4, [r0, #0] /* load data early to avoid load/use pipeline stall */
98
+        ldrdgt          r4, [r0, #0] /* load data early to avoid load/use pipeline stall */
99 99
         bgt             1b
100 100
 
101 101
         adds            r3, r3, #2
... ...
@@ -20,8 +20,6 @@
20 20
 
21 21
 #include "asm.S"
22 22
 
23
-        .syntax         unified
24
-
25 23
 .macro rac_get_prob     h, bs, buf, cw, pr, t0, t1
26 24
         adds            \bs, \bs, \t0
27 25
         lsl             \cw, \cw, \t0