Cfish icon indicating copy to clipboard operation
Cfish copied to clipboard

Just AVX2 test

Open JavaMast opened this issue 4 years ago • 4 comments

CPU Ryzen 3900X

Screenshot_651

JavaMast avatar Jul 13 '20 09:07 JavaMast

Thanks! So avx2 move generation doesn't seem to beat regular magic move generation on Zen, and compiling specifically for Zen does seem to help a bit (with -march=znver1 seemingly outperforming -march=znver2).

syzygy1 avatar Jul 13 '20 10:07 syzygy1

Just for information. BMI2_FANCY is much slower than BMI2_PLAIN on Ryzen 3900X

Screenshot_90 Screenshot_91 Screenshot_94

JavaMast avatar Sep 25 '20 16:09 JavaMast

Looks like AVX2_BITBOARD is a bit faster with NNUE=Pure

Screenshot_95 Screenshot_96 Screenshot_97

JavaMast avatar Sep 25 '20 16:09 JavaMast

That AVX2 move generation is doing well in pure NNUE mode is very interesting. I should look into this to try to understand why.

That BMI2_FANCY does poorly on Ryzen is not so strange, as it uses the pdep/pext instructions even more.

syzygy1 avatar Sep 25 '20 22:09 syzygy1