[x265] [PATCH ] Fix 32 bit build error
mythreyi at multicorewareinc.com
mythreyi at multicorewareinc.com
Thu Apr 12 11:43:29 CEST 2018
# HG changeset patch
# User Mythreyi P <mythreyi at multicorewareinc.com>
# Date 1523566023 25200
# Thu Apr 12 13:47:03 2018 -0700
# Node ID cef7d4791b1077f7dd145ae940e9d88c14655324
# Parent 593e63cda903370af926711c0ba05ce37d045c90
Fix 32 bit build error
diff -r 593e63cda903 -r cef7d4791b10 source/common/x86/pixel-util8.asm
--- a/source/common/x86/pixel-util8.asm Thu Apr 05 17:16:07 2018 +0530
+++ b/source/common/x86/pixel-util8.asm Thu Apr 12 13:47:03 2018 -0700
@@ -1861,6 +1861,7 @@
;-----------------------------------------------------------------------------
; int x265_count_nonzero_16x16_avx512(const int16_t *quantCoeff);
;-----------------------------------------------------------------------------
+%if ARCH_X86_64
INIT_ZMM avx512
cglobal count_nonzero_16x16, 1,4,2
mov r1, 0xFFFFFFFFFFFFFFFF
@@ -1881,7 +1882,7 @@
mov eax, r3d
RET
-
+%endif
;-----------------------------------------------------------------------------
; int x265_count_nonzero_32x32_sse2(const int16_t *quantCoeff);
@@ -1935,6 +1936,7 @@
;-----------------------------------------------------------------------------
; int x265_count_nonzero_32x32_avx512(const int16_t *quantCoeff);
;-----------------------------------------------------------------------------
+%if ARCH_X86_64
INIT_ZMM avx512
cglobal count_nonzero_32x32, 1,4,2
mov r1, 0xFFFFFFFFFFFFFFFF
@@ -1955,7 +1957,7 @@
mov eax, r3d
RET
-
+%endif
;-----------------------------------------------------------------------------------------------------------------------------------------------
;void weight_pp(pixel *src, pixel *dst, intptr_t stride, int width, int height, int w0, int round, int shift, int offset)
;-----------------------------------------------------------------------------------------------------------------------------------------------
More information about the x265-devel
mailing list