AsmFish

Home * Engines * Stockfish * asmFish



asmFish, a port of Stockfish in x86-64 assembly by Mohammed Li, optional using AVX2 and BMI2 instructions, assembled with FASM to run under Windows or UNIX/Linux, first released in June 2016. The fun project is about to demonstrate how an experienced assembly programmer can optimize a program compared with GCC. A few structural optimizations were also applied, such as elimination of piece lists as already tried in Stockfish, which were later reinstalled due to the slower but stronger pedantFish (asmFish with PEDANTIC = 1) with the same node counts as Stockfish, became default. Critical functions in asmFish were not conform to the x86-64 ABI concerning register usage and calling convention. Some less time critical code was ported using GCC generated assembly output, such as Ronald de Man's probing code for Syzygy Bases. asmFish further supports large pages, and its parallel search is numa aware.

=See also=
 * CFish

=Forum Posts=

2015

 * [for fun rewrite of stockfish into asm and question on source] by Mohammed Li, FishCooking, January 09, 2015
 * Re: [for fun rewrite of stockfish into asm and question on source] by Mohammed Li, FishCooking, April 18, 2016

2016

 * new humanistic compile of SF is 108KB by Mohammed Li, FishCooking, May 28, 2016
 * Re: Speedup and simplicity idea by Mohammed Li, FishCooking, June 28, 2016
 * ASM Fish for Linux and Windows by Norbert Raimund Leisner, CCC, July 26, 2016
 * asmFish 44 cores by A. Turkoglu, FishCooking, August 28, 2016
 * Scaling of Asmfish with large thread count by Dann Corbit, CCC, October 07, 2016 » Parallel Search
 * New asmFish released by Stefan Pohl, CCC, November 04, 2016

2017

 * Reaching Lyudmil Antonov by Art Ford, CCC, January 23, 2017
 * Pedant And ASM by menniepals, CCC, September 07, 2017
 * asmfish_macOS_11082017 by Michael B, CCC, November 08, 2017
 * asmfishX - macOS by Michael B, CCC, November 23, 2017

2018

 * asmFish update - all flavors of OS by Michael B, CCC, January 20, 2018
 * Re: asmFish update - all flavors of OS by T. Poppins, CCC, January 23, 2018


 * New asmfish by Günther Simon, CCC, February 12, 2018
 * Asmfish further development by Günther Simon, CCC, October 01, 2018
 * Re: piece lists advantage with bit-boards? by Ronald de Man, CCC, December 26, 2018 » Piece-Lists

2019

 * asmFish by Stephen Ham, CCC, April 28, 2019
 * Re: asmFish by Ronald de Man, CCC, May 05, 2019


 * in case you had not noticed .. by MikeB, CCC, June 07, 2019

=External Links=

Chess Engine

 * GitHub - lantonov/asmFish Wiki
 * GitHub - lantonov/asmFish - A continuation of the nice project asmFish by Mohammed Li (07.08.2019), hosted by Lyudmil Antonov
 * GitHub - Counterply/asmFish at asmFish-CounterPly hosted by Justin Dehorty

Misc

 * Yes - The Fish (Schindleria Praematurus), Live at Montreux 2003 YouTube Video

=References= Up one Level