[x265] [PATCH 3 of 7] asm-intrapred8.asm: use macro 'INTRA_PRED_ANG16_MC1' to shorten asm code length

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Mar 16 05:55:32 CET 2015


# HG changeset patch
# User Praveen Tiwari <praveen at multicorewareinc.com>
# Date 1426237123 -19800
# Node ID 941beb5c0de477698d1cdfe83a27eb1786edc107
# Parent  c4198a07c921d9f904aa62e130ad6f018222823e
asm-intrapred8.asm: use macro 'INTRA_PRED_ANG16_MC1' to shorten asm code length

diff -r c4198a07c921 -r 941beb5c0de4 source/common/x86/intrapred8.asm
--- a/source/common/x86/intrapred8.asm	Fri Mar 13 14:22:51 2015 +0530
+++ b/source/common/x86/intrapred8.asm	Fri Mar 13 14:28:43 2015 +0530
@@ -10751,8 +10751,7 @@
     vbroadcasti128    m2, [r2 + 9]
     pshufb            m2, m5
 
-    INTRA_PRED_ANG16_MC0 r0, r0 + r1, 0
-    INTRA_PRED_ANG16_MC0 r0 + 2 * r1, r0 + r3, 1
+    INTRA_PRED_ANG16_MC1 0
 
     lea               r0, [r0 + 4 * r1]
 
@@ -10768,8 +10767,7 @@
     lea               r0, [r0 + 4 * r1]
     lea               r4, [r4 + 4 * mmsize]
 
-    INTRA_PRED_ANG16_MC0 r0, r0 + r1, 0
-    INTRA_PRED_ANG16_MC0 r0 + 2 * r1, r0 + r3, 1
+    INTRA_PRED_ANG16_MC1 0
 
     vbroadcasti128    m1, [r2 + 3]
     pshufb            m1, m5
@@ -10778,6 +10776,5 @@
 
     lea               r0, [r0 + 4 * r1]
 
-    INTRA_PRED_ANG16_MC0 r0, r0 + r1, 2
-    INTRA_PRED_ANG16_MC0 r0 + 2 * r1, r0 + r3, 3
-    RET
+    INTRA_PRED_ANG16_MC1 2
+    RET


More information about the x265-devel mailing list