[x264-devel] commit: many changes to which asm functions are enabled on which cpus. ( Loren Merritt )

git version control git at videolan.org
Sun Jun 8 07:01:38 CEST 2008


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Fri Jun  6 23:31:22 2008 -0600| [86c70b0fccc46752e03d3ed7fc5733dab31b5a41]

many changes to which asm functions are enabled on which cpus.
with Phenom, 3dnow is no longer equivalent to "sse2 is slow", so make a new flag for that.
some sse2 functions are useful only on Core2 and Phenom, so make a "sse2 is fast" flag for that.
some ssse3 instructions didn't become useful until Penryn, so yet another flag.
disable sse2 completely on Pentium M and Core1, because it's uniformly slower than mmx.
enable some sse2 functions on Athlon64 that always were faster and we just didn't notice.
remove mc_luma_sse3, because the only cpu that has lddqu (namely Pentium 4D) doesn't have "sse2 is fast".
don't print mmx1, sse1, nor 3dnow in the detected cpuflags, since we don't really have any such functions. likewise don't print sse3 unless it's used (Pentium 4D).

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

 common/cpu.c           |  123 +++++++++++++++++++++++++++++------------------
 common/cpu.h           |    7 ++-
 common/dct.c           |   16 ++----
 common/frame.c         |    9 ++--
 common/pixel.c         |   55 +++++++++------------
 common/x86/dct-a.asm   |    9 ++--
 common/x86/mc-a.asm    |   11 +----
 common/x86/mc-c.c      |   25 +++-------
 common/x86/predict-c.c |    6 ++-
 encoder/encoder.c      |    8 +++
 tools/checkasm.c       |   33 +++++++------
 x264.h                 |   28 ++++++------
 12 files changed, 172 insertions(+), 158 deletions(-)

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


More information about the x264-devel mailing list