diff options
author | Clément Bœsch <u@pkh.me> | 2013-11-17 23:00:23 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2013-11-17 23:12:35 +0100 |
commit | e0434cfcfcbadf754627512878ad91eedb7c85cc (patch) | |
tree | 521ba723b1efed2bebbb2fb5aae0f811b88b957f | |
parent | c017f15dde577472b4e09178385c2f90dd90275b (diff) | |
download | ffmpeg-e0434cfcfcbadf754627512878ad91eedb7c85cc.tar.gz |
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.
-rw-r--r-- | libavcodec/x86/h264_intrapred.asm | 5 |
1 files changed, 1 insertions, 4 deletions
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 |