OSDN Git Service

x86: Replace checks for CPU extensions and flags by convenience macros
authorDiego Biurrun <diego@biurrun.de>
Wed, 29 Aug 2012 17:01:05 +0000 (19:01 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sat, 8 Sep 2012 16:18:34 +0000 (18:18 +0200)
commite0c6cce44729d94e2a5507a4b6d031f23e8bd7b6
tree5118ee396e1879c3f90dfc1898e9bbd868e4b583
parent6a0200f24de51eeb94a3a1f75ee105786a6e088d
x86: Replace checks for CPU extensions and flags by convenience macros

This separates code relying on inline from that relying on external
assembly and fixes instances where the coalesced check was incorrect.
21 files changed:
libavcodec/x86/ac3dsp_init.c
libavcodec/x86/dsputilenc_mmx.c
libavcodec/x86/fft_init.c
libavcodec/x86/fmtconvert_init.c
libavcodec/x86/h264_intrapred_init.c
libavcodec/x86/h264dsp_init.c
libavcodec/x86/mpegaudiodec.c
libavcodec/x86/mpegvideoenc.c
libavcodec/x86/pngdsp_init.c
libavcodec/x86/proresdsp_init.c
libavcodec/x86/rv34dsp_init.c
libavcodec/x86/rv40dsp_init.c
libavcodec/x86/sbrdsp_init.c
libavcodec/x86/vp3dsp_init.c
libavcodec/x86/vp56dsp_init.c
libavresample/x86/audio_convert_init.c
libavresample/x86/audio_mix_init.c
libavutil/x86/float_dsp_init.c
libswscale/utils.c
libswscale/x86/rgb2rgb.c
libswscale/x86/swscale.c