comparison libswscale/rgb2rgb_template.c @ 27690:06d645ed0c9f

gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)
author lu_zero
date Sun, 05 Oct 2008 21:00:16 +0000
parents 49d5420c5698
children 3815517f49d4
comparison
equal deleted inserted replaced
27689:d6ae24838f0f 27690:06d645ed0c9f
50 #elif defined (HAVE_MMX2) 50 #elif defined (HAVE_MMX2)
51 #define PREFETCH "prefetchnta" 51 #define PREFETCH "prefetchnta"
52 #define PREFETCHW "prefetcht0" 52 #define PREFETCHW "prefetcht0"
53 #define PAVGB "pavgb" 53 #define PAVGB "pavgb"
54 #else 54 #else
55 #ifdef __APPLE__
56 #define PREFETCH "#"
57 #define PREFETCHW "#"
58 #else
59 #define PREFETCH " # nop" 55 #define PREFETCH " # nop"
60 #define PREFETCHW " # nop" 56 #define PREFETCHW " # nop"
61 #endif
62 #endif 57 #endif
63 58
64 #ifdef HAVE_3DNOW 59 #ifdef HAVE_3DNOW
65 /* On K6 femms is faster than emms. On K7 femms is directly mapped on emms. */ 60 /* On K6 femms is faster than emms. On K7 femms is directly mapped on emms. */
66 #define EMMS "femms" 61 #define EMMS "femms"