2 This file contains most common definitions to make MMX stuff
3 easy portable between different kinds of mmx clones
4 Written By Nick Kurshev <nickols_k@mail.ru>
7 #ifndef MMXDEFS_INCLUDED
8 #define MMXDEFS_INCLUDED
13 #if defined(HAVE_MMX) && !defined(HAVE_MMX2) && !defined(HAVE_3DNOW) && !defined(HAVE_SSE)
18 #if !defined( HAVE_MMX2 ) && defined( HAVE_3DNOW )
29 #define PREFETCH "prefetch"
30 #define PREFETCHW "prefetchw"
31 #define PAVGB "pavgusb"
32 #elif defined ( HAVE_MMX2 )
33 #define PREFETCH "prefetchnta"
34 #define PREFETCHW "prefetcht0"
37 #define PREFETCH "/nop"
38 #define PREFETCHW "/nop"
42 /* On K6 femms is faster of emms. On K7 femms is directly mapped on emms. */
49 #define MOVNTQ "movntq"
50 #define SFENCE "sfence"