diff options
author | James Almer <jamrial@gmail.com> | 2016-02-07 00:52:06 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-02-14 20:04:19 -0300 |
commit | 4d95207938252d6683411bc2f51f05c3d02749a2 (patch) | |
tree | 638c97efc0cf56dd4a4c7ef8b313538d6a98d4f4 /libavutil/x86/float_dsp_init.c | |
parent | 1e8a75fae479c75514f1923a4d697dc07f87ca26 (diff) | |
download | ffmpeg-4d95207938252d6683411bc2f51f05c3d02749a2.tar.gz |
x86: use the new helper macros where useful
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 70d685a77f283b110e7b1ab565ff5de53f752d55)
Diffstat (limited to 'libavutil/x86/float_dsp_init.c')
-rw-r--r-- | libavutil/x86/float_dsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/x86/float_dsp_init.c b/libavutil/x86/float_dsp_init.c index f211f2396b..c836a78e1b 100644 --- a/libavutil/x86/float_dsp_init.c +++ b/libavutil/x86/float_dsp_init.c @@ -92,7 +92,7 @@ av_cold void ff_float_dsp_init_x86(AVFloatDSPContext *fdsp) fdsp->vector_fmul_add = ff_vector_fmul_add_avx; fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_avx; } - if (EXTERNAL_FMA3(cpu_flags) && !(cpu_flags & AV_CPU_FLAG_AVXSLOW)) { + if (EXTERNAL_FMA3_FAST(cpu_flags)) { fdsp->vector_fmac_scalar = ff_vector_fmac_scalar_fma3; fdsp->vector_fmul_add = ff_vector_fmul_add_fma3; } |