[x265] [PATCH] copy_cnt: enable avx2 version of asm code
praveen at multicorewareinc.com
praveen at multicorewareinc.com
Wed Sep 10 11:58:04 CEST 2014
# HG changeset patch
# User Praveen Tiwari
# Date 1410343073 -19800
# Node ID 2cd4a13086740728559fde3a176953e9aa4c0782
# Parent 7bc4db02ccc728f6e2ddedd036c96e3d37b90f22
copy_cnt: enable avx2 version of asm code
diff -r 7bc4db02ccc7 -r 2cd4a1308674 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp Wed Sep 10 14:45:33 2014 +0530
+++ b/source/common/x86/asm-primitives.cpp Wed Sep 10 15:27:53 2014 +0530
@@ -1724,14 +1724,10 @@
p.sad_x4[LUMA_16x32] = x265_pixel_sad_x4_16x32_avx2;
p.ssd_s[BLOCK_32x32] = x265_pixel_ssd_s_32_avx2;
- /* Need to update assembly code as per changed interface of the copy_cnt primitive, once
- * code is updated, avx2 version will be enabled */
-/*
p.copy_cnt[BLOCK_4x4] = x265_copy_cnt_4_avx2;
p.copy_cnt[BLOCK_8x8] = x265_copy_cnt_8_avx2;
p.copy_cnt[BLOCK_16x16] = x265_copy_cnt_16_avx2;
p.copy_cnt[BLOCK_32x32] = x265_copy_cnt_32_avx2;
-*/
p.cvt32to16_shl[BLOCK_4x4] = x265_cvt32to16_shl_4_avx2;
p.cvt32to16_shl[BLOCK_8x8] = x265_cvt32to16_shl_8_avx2;
More information about the x265-devel
mailing list