[x265] [PATCH] asm:intra_pred4_x filtering
dtyx265 at gmail.com
dtyx265 at gmail.com
Sat Apr 4 21:05:33 CEST 2015
# HG changeset patch
# User David T Yuen <dtyx265 at gmail.com>
# Date 1428172954 25200
# Node ID 79611624ed8fcaa312473687567ffde76543c417
# Parent bb771744a75d4493a35ec5e9d76aaee1fa039f28
asm:intra_pred4_x filtering
Use r4 to hold address of constant to reduce code size
diff -r bb771744a75d -r 79611624ed8f source/common/x86/intrapred16.asm
--- a/source/common/x86/intrapred16.asm Fri Apr 03 09:22:47 2015 -0700
+++ b/source/common/x86/intrapred16.asm Sat Apr 04 11:42:34 2015 -0700
@@ -744,21 +744,22 @@
ALIGN 16
.do_filter4x4:
+ lea r4, [pd_16]
pmaddwd m2, m0
- paddd m2, [pd_16]
+ paddd m2, [r4]
psrld m2, 5
pmaddwd m3, m1
- paddd m3, [pd_16]
+ paddd m3, [r4]
psrld m3, 5
packssdw m2, m3
pmaddwd m4, m6
- paddd m4, [pd_16]
+ paddd m4, [r4]
psrld m4, 5
pmaddwd m5, m7
- paddd m5, [pd_16]
+ paddd m5, [r4]
psrld m5, 5
packssdw m4, m5
More information about the x265-devel
mailing list