summaryrefslogtreecommitdiff
path: root/libavcodec/x86/x86util.asm
diff options
context:
space:
mode:
authorJason Garrett-Glaser <jason@x264.com>2011-07-27 18:09:49 -0700
committerJason Garrett-Glaser <jason@x264.com>2011-07-29 12:24:15 -0700
commita3bf7b864acae5921f5de53b45945770e93e6237 (patch)
tree526eb0b748ac75d84935352234ca1461c04b5434 /libavcodec/x86/x86util.asm
parent5ef953e84f0a272396bf11d7b780dec6c0e3ac00 (diff)
H.264: tweak some other x86 asm for Atom
Diffstat (limited to 'libavcodec/x86/x86util.asm')
-rw-r--r--libavcodec/x86/x86util.asm4
1 files changed, 2 insertions, 2 deletions
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