Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
https://bitbucket.org/multicoreware/x265/issues/442/detect512-is-needed-on-all-architectures | ||
|
||
This function is used on all architectures, not just X86. | ||
|
||
--- x265-2.9/source/common/cpu.cpp | ||
+++ x265-2.9/source/common/cpu.cpp | ||
@@ -110,6 +110,11 @@ | ||
{ "", 0 }, | ||
}; | ||
|
||
+bool detect512() | ||
+{ | ||
+ return(enable512); | ||
+} | ||
+ | ||
#if X265_ARCH_X86 | ||
|
||
extern "C" { | ||
@@ -123,10 +128,6 @@ | ||
#pragma warning(disable: 4309) // truncation of constant value | ||
#endif | ||
|
||
-bool detect512() | ||
-{ | ||
- return(enable512); | ||
-} | ||
uint32_t cpu_detect(bool benableavx512 ) | ||
{ | ||
|
This file was deleted.
Oops, something went wrong.