[FFmpeg-cvslog] ARM: enable UAL syntax in asm.S
Mans Rullgard
git at videolan.org
Mon May 30 01:44:31 CEST 2011
ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sun May 29 14:22:52 2011 +0100| [371266daa3df35c424203fff0ce2e6de0e33a29d] | committer: Mans Rullgard
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 at mansr.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=371266daa3df35c424203fff0ce2e6de0e33a29d
---
libavcodec/arm/asm.S | 2 ++
libavcodec/arm/dsputil_vfp.S | 1 -
libavcodec/arm/fmtconvert_vfp.S | 2 --
libavcodec/arm/mpegvideo_armv5te_s.S | 2 +-
libavcodec/arm/vp8_armv6.S | 2 --
5 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
index 6e3d788..8d7fe98 100644
--- a/libavcodec/arm/asm.S
+++ b/libavcodec/arm/asm.S
@@ -26,6 +26,8 @@
# define ELF @
#endif
+ .syntax unified
+
.macro require8 val=1
ELF .eabi_attribute 24, \val
.endm
diff --git a/libavcodec/arm/dsputil_vfp.S b/libavcodec/arm/dsputil_vfp.S
index b41db03..16ea25a 100644
--- a/libavcodec/arm/dsputil_vfp.S
+++ b/libavcodec/arm/dsputil_vfp.S
@@ -21,7 +21,6 @@
#include "config.h"
#include "asm.S"
- .syntax unified
/*
* VFP is a floating point coprocessor used in some ARM cores. VFP11 has 1 cycle
* throughput for almost all the instructions (except for double precision
diff --git a/libavcodec/arm/fmtconvert_vfp.S b/libavcodec/arm/fmtconvert_vfp.S
index e01627b..1bb7f49 100644
--- a/libavcodec/arm/fmtconvert_vfp.S
+++ b/libavcodec/arm/fmtconvert_vfp.S
@@ -21,8 +21,6 @@
#include "config.h"
#include "asm.S"
- .syntax unified
-
/**
* ARM VFP optimized float to int16 conversion.
* Assume that len is a positive number and is multiple of 8, destination
diff --git a/libavcodec/arm/mpegvideo_armv5te_s.S b/libavcodec/arm/mpegvideo_armv5te_s.S
index 6473926..e83fe99 100644
--- a/libavcodec/arm/mpegvideo_armv5te_s.S
+++ b/libavcodec/arm/mpegvideo_armv5te_s.S
@@ -95,7 +95,7 @@ function ff_dct_unquantize_h263_armv5te, export=1
strh lr, [r0], #2
subs r3, r3, #8
- ldrgtd r4, [r0, #0] /* load data early to avoid load/use pipeline stall */
+ ldrdgt r4, [r0, #0] /* load data early to avoid load/use pipeline stall */
bgt 1b
adds r3, r3, #2
diff --git a/libavcodec/arm/vp8_armv6.S b/libavcodec/arm/vp8_armv6.S
index 11d3521..602c8a5 100644
--- a/libavcodec/arm/vp8_armv6.S
+++ b/libavcodec/arm/vp8_armv6.S
@@ -20,8 +20,6 @@
#include "asm.S"
- .syntax unified
-
.macro rac_get_prob h, bs, buf, cw, pr, t0, t1
adds \bs, \bs, \t0
lsl \cw, \cw, \t0
More information about the ffmpeg-cvslog
mailing list