[issue41286] Built-in platform module does not offer to check for processor instructions

Boštjan Mejak report at bugs.python.org
Sun Jul 12 21:17:23 EDT 2020


Boštjan Mejak <bostjan.xperia at gmail.com> added the comment:

This feature is needed for a chess GUI application because the Stockfish chess engine is offered in different builds: a build that supports the POPCNT processor instruction and a build that doesn't, a build that supports the BMI/BMI2 processor instruction set, a 32-bit build and a 64-bit build, also a Windows build and a Linux build.

Then the chess GUI application can check if the processor supports the POPCNT instruction or the BMI/BMI2 processor instruction set and can load an appropriate Stockfish build to analyze a chess game or play against a human chess player by using the appropriate Stockfish build for the machine the chess GUI application is running on.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41286>
_______________________________________


More information about the Python-bugs-list mailing list