[x265] [PATCH 8 of 9] asm-intra_pred_ang16_33: use macro 'INTRA_PRED_ANG16_MC3' to reduce code size

praveen at multicorewareinc.com praveen at multicorewareinc.com
Tue Mar 17 06:11:09 CET 2015


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1426516900 -19800
# Node ID 78cbbd3e24b223836d5c185b11ca952bb678ebd1
# Parent  bc57e9c9d93826e9e97752bb01f3e3343fdf7390
asm-intra_pred_ang16_33: use macro 'INTRA_PRED_ANG16_MC3' to reduce code size

diff -r bc57e9c9d938 -r 78cbbd3e24b2 source/common/x86/intrapred8.asm
--- a/source/common/x86/intrapred8.asm	Mon Mar 16 20:09:28 2015 +0530
+++ b/source/common/x86/intrapred8.asm	Mon Mar 16 20:11:40 2015 +0530
@@ -11145,10 +11145,5 @@
     add               r4, 4 * mmsize
 
     INTRA_PRED_ANG16_MC2 14
-    vperm2i128        m1, m1, m2, 00100000b
-    pmaddubsw         m3, m1, [r4 + 1 * mmsize]
-    pmulhrsw          m3, m0
-    packuswb          m3, m3
-    vpermq            m3, m3, 11011000b
-    movu              [r0 + r3], xm3
-    RET
+    INTRA_PRED_ANG16_MC3 r0 + r3, 1
+    RET


More information about the x265-devel mailing list