Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/include


Modified Files:
        evas_common.h 


Log Message:
Generic runtime cpu feature testing. This is not used much yet, and shouldn't
break anything. Please review and shout if you see problems.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/include/evas_common.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- evas_common.h       20 Jan 2003 23:04:38 -0000      1.6
+++ evas_common.h       11 Mar 2003 04:39:57 -0000      1.7
@@ -110,6 +110,8 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <signal.h>
+#include <setjmp.h>
 
 #ifdef _WIN32_WCE
 #include <windows.h>
@@ -192,6 +194,16 @@
    PAL_MODE_RGB332,
    PAL_MODE_LAST
 } Convert_Pal_Mode;
+
+typedef enum _CPU_Features
+{
+   CPU_FEATURE_C       = 0,
+   CPU_FEATURE_MMX     = (1 << 0),
+   CPU_FEATURE_SSE     = (1 << 1),
+   CPU_FEATURE_ALTIVEC = (1 << 2),
+   CPU_FEATURE_VIS     = (1 << 3),
+   CPU_FEATURE_VIS2    = (1 << 4)
+} CPU_Features;
 
 /*****************************************************************************/
 




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to