From a3bf7b864acae5921f5de53b45945770e93e6237 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Wed, 27 Jul 2011 18:09:49 -0700 Subject: H.264: tweak some other x86 asm for Atom --- libavcodec/x86/x86util.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/x86/x86util.asm') diff --git a/libavcodec/x86/x86util.asm b/libavcodec/x86/x86util.asm index 45196625fe..5f39107379 100644 --- a/libavcodec/x86/x86util.asm +++ b/libavcodec/x86/x86util.asm @@ -497,10 +497,10 @@ %macro STORE_DIFFx2 8 ; add1, add2, reg1, reg2, zero, shift, source, stride movh %3, [%7] movh %4, [%7+%8] - punpcklbw %3, %5 - punpcklbw %4, %5 psraw %1, %6 psraw %2, %6 + punpcklbw %3, %5 + punpcklbw %4, %5 paddw %3, %1 paddw %4, %2 packuswb %3, %5 -- cgit v1.2.3