mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
simd: be more precise which SIMD optimizations we activate
This commit is contained in:
parent
1f0904b800
commit
71e066c873
5 changed files with 28 additions and 16 deletions
|
|
@ -149,9 +149,11 @@ static void init_remap_sse2 (pa_remap_t *m) {
|
|||
|
||||
void pa_remap_func_init_sse (pa_cpu_x86_flag_t flags) {
|
||||
#if defined (__i386__) || defined (__amd64__)
|
||||
pa_log_info("Initialising SSE optimized remappers.");
|
||||
|
||||
if (flags & PA_CPU_X86_SSE2)
|
||||
pa_set_init_remap_func ((pa_init_remap_func_t) init_remap_sse2);
|
||||
if (flags & PA_CPU_X86_SSE2) {
|
||||
pa_log_info("Initialising SSE2 optimized remappers.");
|
||||
pa_set_init_remap_func ((pa_init_remap_func_t) init_remap_sse2);
|
||||
}
|
||||
|
||||
#endif /* defined (__i386__) || defined (__amd64__) */
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue