Mercurial > mplayer.hg
view mp3lib/d_cpu.h @ 3077:99f6db3255aa
10-20% faster fastmemcpy :) on my p3 at least but the algo is mostly from "amd athlon processor x86 code optimization guide" so it should be faster for amd chips too, but i fear it might be slower for mem->vram copies (someone should check that, i cant) ... there are 2 #defines to finetune it (BLOCK_SIZE & CONFUSION_FACTOR)
author | michael |
---|---|
date | Thu, 22 Nov 2001 19:40:38 +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