[x264-devel] commit: Detect Atom CPU, enable appropriate asm functions ( Jason Garrett-Glaser )

git at videolan.org git at videolan.org
Wed May 26 19:39:35 CEST 2010


x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Tue May 25 16:13:59 2010 -0700| [036db859ac0d44c4c491ef86d890745a62d1b1e0] | committer: Jason Garrett-Glaser 

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=036db859ac0d44c4c491ef86d890745a62d1b1e0
---

 common/cpu.c           |   16 ++++++++++++----
 common/dct.c           |    2 +-
 common/pixel.c         |   17 ++++++++++-------
 common/quant.c         |   15 +++++++++++++++
 common/x86/mc-c.c      |    9 ++++++---
 common/x86/quant-a.asm |   33 ++++++++++++++++++++++++---------
 common/x86/quant.h     |    6 ++++++
 encoder/macroblock.c   |    5 +----
 tools/checkasm.c       |   14 +++++++++++++-
 x264.h                 |    2 ++
 10 files changed, 90 insertions(+), 29 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=036db859ac0d44c4c491ef86d890745a62d1b1e0


More information about the x264-devel mailing list