aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/vp6dsp.asm
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@obe.tv>2024-02-11 20:27:04 +0000
committerKieran Kunhya <kierank@obe.tv>2024-02-13 20:47:16 +0000
commitf43b5f109832d3197773c67b50f70a7103a36503 (patch)
tree4ab5ad17b88879277a21fe237c4f11529b21b17f /libavcodec/x86/vp6dsp.asm
parentfdebde817c03e0983da31a1d5445b48bf0122e2c (diff)
downloadffmpeg-f43b5f109832d3197773c67b50f70a7103a36503.tar.gz
vp6dsp: Remove MMX code
Missed from 6cb3ee8
Diffstat (limited to 'libavcodec/x86/vp6dsp.asm')
-rw-r--r--libavcodec/x86/vp6dsp.asm55
1 files changed, 0 insertions, 55 deletions
diff --git a/libavcodec/x86/vp6dsp.asm b/libavcodec/x86/vp6dsp.asm
index 512fe89def..0106541734 100644
--- a/libavcodec/x86/vp6dsp.asm
+++ b/libavcodec/x86/vp6dsp.asm
@@ -27,44 +27,6 @@ cextern pw_64
SECTION .text
%macro DIAG4 6
-%if mmsize == 8
- movq m0, [%1+%2]
- movq m1, [%1+%3]
- movq m3, m0
- movq m4, m1
- punpcklbw m0, m7
- punpcklbw m1, m7
- punpckhbw m3, m7
- punpckhbw m4, m7
- pmullw m0, [rsp+8*11] ; src[x-8 ] * biweight [0]
- pmullw m1, [rsp+8*12] ; src[x ] * biweight [1]
- pmullw m3, [rsp+8*11] ; src[x-8 ] * biweight [0]
- pmullw m4, [rsp+8*12] ; src[x ] * biweight [1]
- paddw m0, m1
- paddw m3, m4
- movq m1, [%1+%4]
- movq m2, [%1+%5]
- movq m4, m1
- movq m5, m2
- punpcklbw m1, m7
- punpcklbw m2, m7
- punpckhbw m4, m7
- punpckhbw m5, m7
- pmullw m1, [rsp+8*13] ; src[x+8 ] * biweight [2]
- pmullw m2, [rsp+8*14] ; src[x+16] * biweight [3]
- pmullw m4, [rsp+8*13] ; src[x+8 ] * biweight [2]
- pmullw m5, [rsp+8*14] ; src[x+16] * biweight [3]
- paddw m1, m2
- paddw m4, m5
- paddsw m0, m1
- paddsw m3, m4
- paddsw m0, m6 ; Add 64
- paddsw m3, m6 ; Add 64
- psraw m0, 7
- psraw m3, 7
- packuswb m0, m3
- movq [%6], m0
-%else ; mmsize == 16
movq m0, [%1+%2]
movq m1, [%1+%3]
punpcklbw m0, m7
@@ -84,25 +46,9 @@ SECTION .text
psraw m0, 7
packuswb m0, m0
movq [%6], m0
-%endif ; mmsize == 8/16
%endmacro
%macro SPLAT4REGS 0
-%if mmsize == 8
- movq m5, m3
- punpcklwd m3, m3
- movq m4, m3
- punpckldq m3, m3
- punpckhdq m4, m4
- punpckhwd m5, m5
- movq m2, m5
- punpckhdq m2, m2
- punpckldq m5, m5
- movq [rsp+8*11], m3
- movq [rsp+8*12], m4
- movq [rsp+8*13], m5
- movq [rsp+8*14], m2
-%else ; mmsize == 16
pshuflw m4, m3, 0x0
pshuflw m5, m3, 0x55
pshuflw m6, m3, 0xAA
@@ -111,7 +57,6 @@ SECTION .text
punpcklqdq m5, m5
punpcklqdq m6, m6
punpcklqdq m3, m3
-%endif ; mmsize == 8/16
%endmacro
; void ff_vp6_filter_diag4_<opt>(uint8_t *dst, uint8_t *src, ptrdiff_t stride,