From: Clément Bœsch Date: Sun, 17 Nov 2013 22:00:23 +0000 (+0100) Subject: avcodec/x86: remove 3 sub in pred4x4_tm_vp8_8. X-Git-Tag: android-x86-6.0-r1~8935 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=e0434cfcfcbadf754627512878ad91eedb7c85cc;p=android-x86%2Fexternal-ffmpeg.git avcodec/x86: remove 3 sub in pred4x4_tm_vp8_8. before: 411 decicycles in ff_pred4x4_tm_vp8_8_ssse3, 8388289 runs, 319 skips after: 389 decicycles in ff_pred4x4_tm_vp8_8_ssse3, 8388308 runs, 300 skips Tested on i7 920. --- diff --git a/libavcodec/x86/h264_intrapred.asm b/libavcodec/x86/h264_intrapred.asm index 5c0dff429a..3064ec5201 100644 --- a/libavcodec/x86/h264_intrapred.asm +++ b/libavcodec/x86/h264_intrapred.asm @@ -2486,10 +2486,7 @@ cglobal pred4x4_tm_vp8_8, 3,3 pshufb mm3, mm6 pshufb mm4, mm6 pshufb mm5, mm6 - psubw mm2, mm7 - psubw mm3, mm7 - psubw mm4, mm7 - psubw mm5, mm7 + psubw mm0, mm7 paddw mm2, mm0 paddw mm3, mm0 paddw mm4, mm0