137 |
if ((cpu_flags & XVID_CPU_SSE) && sigill_check(sse_os_trigger)) |
if ((cpu_flags & XVID_CPU_SSE) && sigill_check(sse_os_trigger)) |
138 |
cpu_flags &= ~XVID_CPU_SSE; |
cpu_flags &= ~XVID_CPU_SSE; |
139 |
|
|
140 |
if ((cpu_flags & XVID_CPU_SSE2) && sigill_check(sse2_os_trigger)) |
if ((cpu_flags & (XVID_CPU_SSE2|XVID_CPU_SSE3)) && sigill_check(sse2_os_trigger)) |
141 |
cpu_flags &= ~XVID_CPU_SSE2; |
cpu_flags &= ~(XVID_CPU_SSE2|XVID_CPU_SSE3); |
142 |
#endif |
#endif |
143 |
|
|
144 |
#if defined(ARCH_IS_PPC) |
#if defined(ARCH_IS_PPC) |
545 |
/* postprocessing */ |
/* postprocessing */ |
546 |
image_brightness = image_brightness_sse2; |
image_brightness = image_brightness_sse2; |
547 |
} |
} |
548 |
|
|
549 |
|
#if 0 // TODO: test... |
550 |
|
if ((cpu_flags & XVID_CPU_SSE3)) { |
551 |
|
|
552 |
|
/* SAD operators */ |
553 |
|
sad16 = sad16_sse3; |
554 |
|
dev16 = dev16_sse3; |
555 |
|
} |
556 |
|
#endif |
557 |
#endif /* ARCH_IS_IA32 */ |
#endif /* ARCH_IS_IA32 */ |
558 |
|
|
559 |
#if defined(ARCH_IS_IA64) |
#if defined(ARCH_IS_IA64) |