mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-18 16:16:23 +08:00
Print info about use of 64bit functions and hardware POPCNT
With this patch at the applications startup a line is printed with info about use of optimized 64 bit routines and hardware POPCNT. Also allow the possibility to disable POPCNT support during PGO compiles to exercise the fallback software only path. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -75,11 +75,11 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
// Print copyright notice
|
||||
cout << engine_name() << ". Copyright (C) "
|
||||
cout << engine_name() << ". Copyright (C) "
|
||||
<< "2004-2009 Tord Romstad, Marco Costalba. " << endl;
|
||||
|
||||
// FIXME ONLY FOR DEBUG, REMOVE BEFORE RELEASE
|
||||
cout << "Support for POPCNT is " << CpuHasPOPCNT << endl;
|
||||
if (CpuHasPOPCNT)
|
||||
cout << "Good! CPU has hardware POPCNT. We will use it." << endl;
|
||||
|
||||
// Enter UCI mode
|
||||
uci_main_loop();
|
||||
|
||||
Reference in New Issue
Block a user