blob: f923956292bd0dc94486a8e493fa92b90268f051 (
plain) (
tree)
|
|
--- x265_2.9/source/common/cpu.cpp.orig 2018-10-05 12:14:40.000000000 +0000
+++ x265_2.9/source/common/cpu.cpp 2018-10-19 02:24:48.780000000 +0000
@@ -59,6 +59,10 @@
namespace X265_NS {
static bool enable512 = false;
+bool detect512()
+{
+ return(enable512);
+}
const cpu_name_t cpu_names[] =
{
#if X265_ARCH_X86
@@ -123,10 +127,6 @@
#pragma warning(disable: 4309) // truncation of constant value
#endif
-bool detect512()
-{
- return(enable512);
-}
uint32_t cpu_detect(bool benableavx512 )
{
|