History

arm: Check for have_vfp_vm instead of !have_vfpv3 for float_dsp_vfp

This was missed in e2710e790c0 since those functions weren't exercised by checkasm.

Martin Storsjö committed 9 years ago

Commit 17f51711 parent e724bdf1 file · +2 −2Browse files

Unified · Split

libavutil/arm/float_dsp_init_vfp.c+2−2
@@ -36,11 +36,11 @@ void ff_butterflies_float_vfp(float *restrict v1, float *restrict v2, int len); · 35 unmodified lines
36 36
37av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)37av_cold void ff_float_dsp_init_vfp(AVFloatDSPContext *fdsp, int cpu_flags)
38{38{
39 if (!have_vfpv3(cpu_flags)) {39 if (have_vfp_vm(cpu_flags)) {
40 fdsp->vector_fmul = ff_vector_fmul_vfp;40 fdsp->vector_fmul = ff_vector_fmul_vfp;
41 fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;41 fdsp->vector_fmul_window = ff_vector_fmul_window_vfp;
42 }42 }
43 fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;43 fdsp->vector_fmul_reverse = ff_vector_fmul_reverse_vfp;
44 if (!have_vfpv3(cpu_flags))44 if (have_vfp_vm(cpu_flags))
45 fdsp->butterflies_float = ff_butterflies_float_vfp;45 fdsp->butterflies_float = ff_butterflies_float_vfp;
46}46}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t