OSDN Git Service

Convert asm keyword into __asm__.
authorDiego Pettenò <flameeyes@gmail.com>
Thu, 16 Oct 2008 13:34:09 +0000 (13:34 +0000)
committerDiego Pettenò <flameeyes@gmail.com>
Thu, 16 Oct 2008 13:34:09 +0000 (13:34 +0000)
commitbe449fca79a3b0394143f0a77c99784e65868d9f
tree5c5b2bbfe648467292b30cc501265e556acab101
parenta14b362fc650a5e036d413033d9709a526662d89
Convert asm keyword into __asm__.

Neither the asm() nor the __asm__() keyword is part of the C99
standard, but while GCC accepts the former in C89 syntax, it is not
accepted in C99 unless GNU extensions are turned on (with -fasm). The
latter form is accepted in any syntax as an extension (without
requiring further command-line options).

Sun Studio C99 compiler also does not accept asm() while accepting
__asm__(), albeit reporting warnings that it's not valid C99 syntax.

Originally committed as revision 15627 to svn://svn.ffmpeg.org/ffmpeg/trunk
65 files changed:
configure
doc/optimization.txt
libavcodec/alpha/asm.h
libavcodec/armv4l/dsputil_arm.c
libavcodec/armv4l/dsputil_iwmmxt.c
libavcodec/armv4l/dsputil_iwmmxt_rnd.h
libavcodec/armv4l/float_arm_vfp.c
libavcodec/armv4l/mathops.h
libavcodec/armv4l/mpegvideo_armv5te.c
libavcodec/armv4l/mpegvideo_iwmmxt.c
libavcodec/bfin/dsputil_bfin.c
libavcodec/bfin/mathops.h
libavcodec/bfin/mpegvideo_bfin.c
libavcodec/bitstream.h
libavcodec/cabac.h
libavcodec/dct-test.c
libavcodec/dsputil.h
libavcodec/i386/cavsdsp_mmx.c
libavcodec/i386/cpuid.c
libavcodec/i386/dsputil_h264_template_mmx.c
libavcodec/i386/dsputil_h264_template_ssse3.c
libavcodec/i386/dsputil_mmx.c
libavcodec/i386/dsputil_mmx.h
libavcodec/i386/dsputil_mmx_avg.h
libavcodec/i386/dsputil_mmx_qns.h
libavcodec/i386/dsputil_mmx_rnd.h
libavcodec/i386/dsputilenc_mmx.c
libavcodec/i386/fdct_mmx.c
libavcodec/i386/fft_3dn2.c
libavcodec/i386/fft_sse.c
libavcodec/i386/flacdsp_mmx.c
libavcodec/i386/h264_i386.h
libavcodec/i386/h264dsp_mmx.c
libavcodec/i386/idct_mmx_xvid.c
libavcodec/i386/idct_sse2_xvid.c
libavcodec/i386/mathops.h
libavcodec/i386/mmx.h
libavcodec/i386/motion_est_mmx.c
libavcodec/i386/mpegvideo_mmx.c
libavcodec/i386/mpegvideo_mmx_template.c
libavcodec/i386/simple_idct_mmx.c
libavcodec/i386/snowdsp_mmx.c
libavcodec/i386/vc1dsp_mmx.c
libavcodec/i386/vp3dsp_mmx.c
libavcodec/i386/vp3dsp_sse2.c
libavcodec/msmpeg4.c
libavcodec/ppc/check_altivec.c
libavcodec/ppc/dsputil_ppc.c
libavcodec/ppc/dsputil_ppc.h
libavcodec/ppc/gcc_fixes.h
libavcodec/ppc/mathops.h
libavcodec/ps2/dsputil_mmi.c
libavcodec/ps2/idct_mmi.c
libavcodec/ps2/mmi.h
libavcodec/ps2/mpegvideo_mmi.c
libavcodec/sh4/dsputil_sh4.c
libavcodec/sh4/idct_sh4.c
libavcodec/simple_idct.c
libavcodec/sparc/simple_idct_vis.c
libavcodec/sparc/vis.h
libavutil/bswap.h
libavutil/common.h
libavutil/internal.h
libpostproc/postprocess.c
libpostproc/postprocess_template.c