# HG changeset patch
# User Jayashree <[email protected]>
# 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;
# HG changeset patch
# User Jayashree <[email protected]>
# 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;
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel

Reply via email to