Mercurial > mplayer.hg
view mp3lib/d_cpu.h @ 2798:ee2cd36a81a2
Code cleanup - emms is not required when MMX block is commented out.
Special notes for Michael Niedermayer:
Are you still here?
If you don't like for(cond;cond;cond) C-constructions and prefer
asm ones: "jb 1b" then use .align 16 pseudo assembler instructions
else loops rather will be not aligned on correct boundary.
(16 it's for K7 for pent should be 8).
Your parts have a lot such lacks.
author | nick |
---|---|
date | Sat, 10 Nov 2001 18:40:49 +0000 |
parents | 03b7e2955a20 |
children |
line wrap: on
line source
// -------------------------------------------------------------------------- // Cpu function detect by Pontscho/fresh!mindworkz // -------------------------------------------------------------------------- #ifndef __MY_CPUIDENT #define __MY_CPUIDENT unsigned int _CpuID; unsigned int _i586; unsigned int _3dnow; unsigned int _isse; unsigned int _has_mmx; extern unsigned long CpuDetect( void ); extern unsigned long ipentium( void ); extern unsigned long isse( void ); extern unsigned long a3dnow( void ); #endif