Detect Atom CPU, enable appropriate asm functions
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 25 May 2010 23:13:59 +0000 (16:13 -0700)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Wed, 26 May 2010 09:06:43 +0000 (02:06 -0700)
commit036db859ac0d44c4c491ef86d890745a62d1b1e0
tree2ce76a35ae258c1dee49da90c4d8e59c22afec8d
parent7c2fd41075685b6f67471c71b323b08fc3c13764
Detect Atom CPU, enable appropriate asm functions
I'm not going to actually optimize for this pile of garbage unless someone pays me.
But it can't hurt to at least enable the correct functions based on benchmarks.

Also save some cache on Intel CPUs that don't need the decimate LUT due to having fast bsr/bsf.
common/cpu.c
common/dct.c
common/pixel.c
common/quant.c
common/x86/mc-c.c
common/x86/quant-a.asm
common/x86/quant.h
encoder/macroblock.c
tools/checkasm.c
x264.h