]> git.videolan.org Git - x264.git/commit
x86: Don't use explicitly aligned versions of SAD on AVX CPUs
authorHenrik Gramner <henrik@gramner.com>
Fri, 3 May 2013 21:06:10 +0000 (23:06 +0200)
committerJason Garrett-Glaser <jason@x264.com>
Fri, 17 May 2013 16:26:49 +0000 (09:26 -0700)
commitb4be6e56629cf8fdcf53adc6b879969d8f6760b3
treea61a3677dec9fe96a45a2a20602bb10bb73bdc62
parent99f553ec300d928d23522304ebf4818574b85ed3
x86: Don't use explicitly aligned versions of SAD on AVX CPUs

On modern CPUs movdqu isn't slower than movdqa when used on aligned data and using the same code in both cases saves cache.

This was already done for the high bit-depth AVX2 implementation but the aligned version still exists as dead code so remove that.
common/pixel.c
common/x86/pixel.h
common/x86/sad16-a.asm