• Sam Lantinga's avatar
    Date: Tue, 30 Mar 2004 18:18:13 -0600 · b310759c
    Sam Lantinga authored
    From: Tyler Montbriand
    Subject: [SDL] Detecting Opteron CPU features
    
    I can now get SDL_cpuinfo.c to detect the AMD Opteron's RDTSC, MMX, MMXEXT,
    3DNOW, 3DNOWEXT, SSE, and SSE2 instruction set extensions under Linux.  It
    took one #ifdef'ed block of new asm code to account for the 64-bit flags
    register, but the other two blocks worked fine without modification, just
    needed to modify the #ifdef's a bit.
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40882
    b310759c
SDL_cpuinfo.c 10.8 KB