[x265] [PATCH 280 of 307] x86: AVX512 Fix linux build error from psyRdoQuant

mythreyi at multicorewareinc.com mythreyi at multicorewareinc.com
Sat Apr 7 04:34:38 CEST 2018


# HG changeset patch
# User Vignesh Vijayakumar<vignesh at multicorewareinc.com>
# Date 1515128523 -19800
#      Fri Jan 05 10:32:03 2018 +0530
# Node ID 8d466bd92e8fac3f24526c01a9532cb05ca82fa1
# Parent  b192baa7583385b4715f07f481aae959d1777a74
x86: AVX512 Fix linux build error from psyRdoQuant

diff -r b192baa75833 -r 8d466bd92e8f source/common/x86/dct8.asm
--- a/source/common/x86/dct8.asm	Thu Jan 04 14:51:47 2018 +0530
+++ b/source/common/x86/dct8.asm	Fri Jan 05 10:32:03 2018 +0530
@@ -6694,7 +6694,9 @@
 ;---------------------------------------------------------------------------------------------------------------------------------------------------------
 INIT_ZMM avx512
 cglobal psyRdoQuant4, 5, 9, 13
+%if WIN64
     mov             r5,        r5m
+%endif
     mov            r6d,        r6m
     vpbroadcastq   m12,        [r5]                              ; psyScale
     lea             r0,        [r0 + 2 * r6]
@@ -6777,7 +6779,9 @@
 ;---------------------------------------------------------------------------------------------------------------------------------------------------------
 INIT_ZMM avx512
 cglobal psyRdoQuant8, 5, 9, 15
+%if WIN64
     mov             r5,        r5m
+%endif
     mov            r6d,        r6m
     vpbroadcastq   m12,        [r5]                              ; psyScale
     lea             r0,        [r0 + 2 * r6]
@@ -6870,7 +6874,9 @@
 ;---------------------------------------------------------------------------------------------------------------------------------------------------------
 INIT_ZMM avx512
 cglobal psyRdoQuant16, 5, 9, 15
+%if WIN64
     mov             r5,        r5m
+%endif
     mov            r6d,        r6m
     vpbroadcastq   m12,        [r5]                              ; psyScale
     lea             r0,        [r0 + 2 * r6]
@@ -6963,7 +6969,9 @@
 ;---------------------------------------------------------------------------------------------------------------------------------------------------------
 INIT_ZMM avx512
 cglobal psyRdoQuant32, 5, 9, 15
+%if WIN64
     mov             r5,        r5m
+%endif
     mov            r6d,        r6m
     vpbroadcastq   m12,        [r5]                              ; psyScale
     lea             r0,        [r0 + 2 * r6]


More information about the x265-devel mailing list