src/cpuinfo/SDL_cpuinfo.c
changeset 1198 b616ac4f39d1
parent 1152 51a8702d8ecd
child 1229 1430f5fe092a
equal deleted inserted replaced
1197:bb5ace455586 1198:b616ac4f39d1
    47 #define CPU_HAS_3DNOWEXT 0x00000020
    47 #define CPU_HAS_3DNOWEXT 0x00000020
    48 #define CPU_HAS_SSE	0x00000040
    48 #define CPU_HAS_SSE	0x00000040
    49 #define CPU_HAS_SSE2	0x00000080
    49 #define CPU_HAS_SSE2	0x00000080
    50 #define CPU_HAS_ALTIVEC	0x00000100
    50 #define CPU_HAS_ALTIVEC	0x00000100
    51 
    51 
    52 #ifdef USE_SETJMP
    52 #if defined(USE_SETJMP) && defined(GCC_ALTIVEC)
    53 /* This is the brute force way of detecting instruction sets...
    53 /* This is the brute force way of detecting instruction sets...
    54    the idea is borrowed from the libmpeg2 library - thanks!
    54    the idea is borrowed from the libmpeg2 library - thanks!
    55  */
    55  */
    56 static jmp_buf jmpbuf;
    56 static jmp_buf jmpbuf;
    57 static void illegal_instruction(int sig)
    57 static void illegal_instruction(int sig)