EgtGeneral :
- in versione Release X64 abilitato AVX2.
This commit is contained in:
+1
-1
@@ -180,7 +180,7 @@ copy $(TargetPath) \EgtProg\Dll32</Command>
|
||||
<PreprocessorDefinitions>WIN32;I_AM_EGN;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||
<EnableEnhancedInstructionSet>NotSet</EnableEnhancedInstructionSet>
|
||||
<EnableEnhancedInstructionSet>AdvancedVectorExtensions2</EnableEnhancedInstructionSet>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||
<EnableParallelCodeGeneration>true</EnableParallelCodeGeneration>
|
||||
|
||||
@@ -87,6 +87,8 @@ GetOsInfo( string& sOsInfo)
|
||||
osvi.dwOSVersionInfoSize = sizeof( OSVERSIONINFOEX) ;
|
||||
|
||||
// Se non recupero le informazioni, provo con forma semplificata
|
||||
#pragma warning( push)
|
||||
#pragma warning( disable : 4996)
|
||||
bool bOsVersionInfoEx = ( GetVersionEx( (OSVERSIONINFO *) &osvi) != FALSE) ;
|
||||
if ( ! bOsVersionInfoEx) {
|
||||
osvi.dwOSVersionInfoSize = sizeof (OSVERSIONINFO) ;
|
||||
@@ -96,6 +98,7 @@ GetOsInfo( string& sOsInfo)
|
||||
return false ;
|
||||
}
|
||||
}
|
||||
#pragma warning( pop)
|
||||
|
||||
// Chiamo GetNativeSystemInfo se supportato o GetSystemInfo altrimenti
|
||||
PGNSI pGNSI = (PGNSI) GetProcAddress( GetModuleHandle( TEXT( "kernel32.dll")), "GetNativeSystemInfo") ;
|
||||
|
||||
Reference in New Issue
Block a user