openexr: make architecture independent
[oi-userland.git] / components / library / liboil / patches / liboil-05-sse.patch
blobd631405904254aa9baaf9be740372794720b5a68
1 --- liboil-0.3.16/liboil/liboilcpu-x86.c-orig 2010-04-08 13:52:37.069918066 -0500
2 +++ liboil-0.3.16/liboil/liboilcpu-x86.c 2010-04-08 13:54:34.368071110 -0500
3 @@ -273,10 +273,8 @@ oil_cpu_detect_getisax (void)
4 if (ui & AV_386_MMX) {
5 oil_cpu_flags |= OIL_IMPL_FLAG_MMX;
7 - if (ui & AV_386_SSE) {
8 - oil_cpu_flags |= OIL_IMPL_FLAG_SSE;
9 - }
10 if (ui & AV_386_SSE2) {
11 + oil_cpu_flags |= OIL_IMPL_FLAG_SSE;
12 oil_cpu_flags |= OIL_IMPL_FLAG_SSE2;
13 oil_cpu_flags |= OIL_IMPL_FLAG_MMXEXT;