diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-13 20:31:17 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-13 20:31:17 +0100 |
commit | 170812755e0ac235ed2b7182ef637eb317d8b2b2 (patch) | |
tree | 2afd0d87f0f09a8cde5f8005e8f66b6b43e03113 /src/pulsecore/svolume_mmx.c | |
parent | 540ec7b961256d6c7702448ca995f61268064190 (diff) |
cpu: check for CMOV flag before using this intsruction in assembly
http://pulseaudio.org/ticket/776
Diffstat (limited to 'src/pulsecore/svolume_mmx.c')
-rw-r--r-- | src/pulsecore/svolume_mmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/svolume_mmx.c b/src/pulsecore/svolume_mmx.c index 46923ed3..e50ebee8 100644 --- a/src/pulsecore/svolume_mmx.c +++ b/src/pulsecore/svolume_mmx.c @@ -305,7 +305,7 @@ void pa_volume_func_init_mmx (pa_cpu_x86_flag_t flags) { run_test (); #endif - if (flags & PA_CPU_X86_MMX) { + if ((flags & PA_CPU_X86_MMX) && (flags & PA_CPU_X86_CMOV)) { pa_log_info("Initialising MMX optimized functions."); pa_set_volume_func (PA_SAMPLE_S16NE, (pa_do_volume_func_t) pa_volume_s16ne_mmx); |