cpu: check for CMOV flag before using this intsruction in assembly

http://pulseaudio.org/ticket/776
This commit is contained in:
Lennart Poettering 2010-01-13 20:31:17 +01:00 committed by Colin Guthrie
parent c88e4680f0
commit 54025c96a7
3 changed files with 8 additions and 4 deletions

View file

@ -35,12 +35,12 @@ typedef enum pa_cpu_x86_flag {
PA_CPU_X86_SSE4_1 = (1 << 6),
PA_CPU_X86_SSE4_2 = (1 << 7),
PA_CPU_X86_3DNOW = (1 << 8),
PA_CPU_X86_3DNOWEXT = (1 << 9)
PA_CPU_X86_3DNOWEXT = (1 << 9),
PA_CPU_X86_CMOV = (1 << 10)
} pa_cpu_x86_flag_t;
void pa_cpu_init_x86 (void);
#if defined (__i386__)
typedef int32_t pa_reg_x86;
#define PA_REG_a "eax"