[x265] [PATCH] fix build issue when using icc

jayashree.c at multicorewareinc.com jayashree.c at multicorewareinc.com
Mon Jun 4 13:18:19 CEST 2018


# HG changeset patch
# User Jayashree <jayashree.c at multicorewareinc.com>
# Date 1527496525 -19800
#      Mon May 28 14:05:25 2018 +0530
# Node ID 056d5af3430984bbbdfad76aeae561a9c480106c
# Parent  9cde2c278464be0db96d41f9605a2dc7a3137165
fix build issue when using icc

diff -r 9cde2c278464 -r 056d5af34309 source/common/x86/asm-primitives.cpp
--- a/source/common/x86/asm-primitives.cpp	Wed May 30 20:54:07 2018 +0530
+++ b/source/common/x86/asm-primitives.cpp	Mon May 28 14:05:25 2018 +0530
@@ -5402,7 +5402,7 @@
 // CPU dispatcher function
 void PFX(intel_cpu_indicator_init)(void)
 {
-    uint32_t cpu = x265::cpu_detect();
+    uint32_t cpu = x265::cpu_detect(false);
 
     if (cpu & X265_CPU_AVX)
         __intel_cpu_indicator = 0x20000;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180604/27907d49/attachment.bin>


More information about the x265-devel mailing list