ARM: vp56: allow inline asm to build with clang
authorMans Rullgard <mans@mansr.com>
Thu, 2 Aug 2012 21:53:47 +0000 (22:53 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 3 Aug 2012 23:59:14 +0000 (00:59 +0100)
commit9829a81bcd3e9ef26c4bbc2959bfb65159dbd314
treef89c367c4da94be04b7fbf7453e1e5fc05744a47
parent4a8143e73ccb805a2e5a54f752d77f20efe20bd3
ARM: vp56: allow inline asm to build with clang

The clang integrated assembler does not support pre-UAL syntax,
while gcc requires pre-UAL syntax for ARM code.  A patch[1] for
clang to support the old syntax as well has been ignored since
January.

This patch chooses the syntax appropriate for each compiler,
allowing both to build the code.  Notably, this change allows
building for iphone with the latest Apple Xcode update.

[1] http://llvm.org/bugs/show_bug.cgi?id=11855

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/vp56_arith.h