[x264-devel] asm cosmetics: INIT_MMX/XMM/YMM now support a cpuflags argument

Loren Merritt git at videolan.org
Wed Aug 10 05:15:12 CEST 2011


x264 | branch: master | Loren Merritt <pengvado at akuvian.org> | Wed Aug  3 14:46:41 2011 +0000| [c0cda6aa0bf775f453e9cea319203975c2875773] | committer: Jason Garrett-Glaser

asm cosmetics: INIT_MMX/XMM/YMM now support a cpuflags argument

Reduces the number of macro args that need to be passed around.
Allows multiple implementations of a given macro (e.g. PALIGNR) to check
cpuflags at the location where the macro is defined, instead of having
to select implementations by %define at toplevel.
Remove INIT_AVX, as it's replaced by "INIT_XMM avx".

This commit does not change the stripped executable.

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

 common/x86/bitstream-a.asm |   16 +-
 common/x86/dct-32.asm      |   89 +++---
 common/x86/dct-64.asm      |   55 ++--
 common/x86/dct-a.asm       |  502 ++++++++++++++--------------
 common/x86/deblock-a.asm   |  199 ++++++------
 common/x86/mc-a.asm        |  524 ++++++++++++++----------------
 common/x86/mc-a2.asm       |  282 ++++++++--------
 common/x86/pixel-32.asm    |    8 +-
 common/x86/pixel-a.asm     |  583 ++++++++++++++++----------------
 common/x86/predict-a.asm   |  566 +++++++++++++++----------------
 common/x86/quant-a.asm     |  793 +++++++++++++++++++++-----------------------
 common/x86/sad-a.asm       |  357 +++++++++-----------
 common/x86/sad16-a.asm     |  182 +++++------
 common/x86/x86inc.asm      |  138 ++++++--
 common/x86/x86util.asm     |  185 +++++------
 15 files changed, 2181 insertions(+), 2298 deletions(-)

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


More information about the x264-devel mailing list