]> git.sesse.net Git - ffmpeg/commitdiff
arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp
authorMartin Storsjö <martin@martin.st>
Mon, 23 Oct 2017 07:44:07 +0000 (10:44 +0300)
committerMartin Storsjö <martin@martin.st>
Tue, 24 Oct 2017 06:06:56 +0000 (09:06 +0300)
This was missed in e2710e790c0 since those functions weren't exercised
by checkasm.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/arm/float_dsp_init_vfp.c

index 61ff2ed38e9c9fd343a8dfa667f7cfc2aa79fc18..79ba6ecd3dd5f2d374a0e9eb4df6eb71787ffd45 100644 (file)
@@ -36,11 +36,11 @@ void ff_butterflies_float_vfp(float *restrict v1, float *restrict v2, int len);
 
 av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
 {
-    if (!have_vfpv3(cpu_flags)) {
+    if (have_vfp_vm(cpu_flags)) {
         fdsp->vector_fmul = ff_vector_fmul_vfp;
         fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;
     }
     fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
-    if (!have_vfpv3(cpu_flags))
+    if (have_vfp_vm(cpu_flags))
         fdsp->butterflies_float = ff_butterflies_float_vfp;
 }