mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
add test for CPU/FPU AVX capabilities
This commit is contained in:
parent
bf1b65029c
commit
4079855507
1 changed files with 4 additions and 0 deletions
|
|
@ -96,6 +96,10 @@ FPU::FPU ()
|
|||
#endif /* _LP64 */
|
||||
#endif /* PLATFORM_WINDOWS */
|
||||
|
||||
if (cpuflags & ((1<<27)|(1<<28))) {
|
||||
_flags = Flags (_flags | HasAVX);
|
||||
}
|
||||
|
||||
if (cpuflags & (1<<25)) {
|
||||
_flags = Flags (_flags | (HasSSE|HasFlushToZero));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue