diff options
author | Clément Bœsch <cboesch@gopro.com> | 2017-02-02 11:22:04 +0100 |
---|---|---|
committer | Clément Bœsch <cboesch@gopro.com> | 2017-02-02 11:22:04 +0100 |
commit | a0860b0a388d5471ae3e60fbf004509a3783f392 (patch) | |
tree | ceeb6795d0d649b9cef796fbc5fc79655be622d8 /libavutil | |
parent | d30870cc730337b7017cc194d696f68ee48f7f1d (diff) | |
parent | 6f9e34baea4f6f484392e4e67f606a0835d07b73 (diff) | |
download | ffmpeg-a0860b0a388d5471ae3e60fbf004509a3783f392.tar.gz |
Merge commit '6f9e34baea4f6f484392e4e67f606a0835d07b73'
* commit '6f9e34baea4f6f484392e4e67f606a0835d07b73':
arm: Check for support for the .fpu directive
Merged-by: Clément Bœsch <cboesch@gopro.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/arm/asm.S | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index b0a6e50a3d..f4882899ee 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -40,6 +40,12 @@ # define FUNC @ #endif +#if HAVE_AS_FPU_DIRECTIVE +# define FPU +#else +# define FPU @ +#endif + #if HAVE_NEON .arch armv7-a #elif HAVE_ARMV6T2 @@ -54,11 +60,11 @@ ELF .object_arch armv4 #endif #if HAVE_NEON - .fpu neon +FPU .fpu neon ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch ELF .eabi_attribute 12, 0 @ suppress Tag_Advanced_SIMD_arch #elif HAVE_VFP - .fpu vfp +FPU .fpu vfp ELF .eabi_attribute 10, 0 @ suppress Tag_FP_arch #endif |