[x265] [PATCH ] Fix 32 bit build error

Ashok Kumar Mishra ashok at multicorewareinc.com
Thu Apr 12 11:46:49 CEST 2018


On Thu, Apr 12, 2018 at 3:13 PM, <mythreyi at multicorewareinc.com> wrote:

> # 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)
>  ;-----------------------------------------------------------
> ------------------------------------------------------------
> ------------------------
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel



Thanks. Pushed to default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180412/b98f4e95/attachment.html>


More information about the x265-devel mailing list