AMD BMI2 question

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Leo
Posts: 1078
Joined: Fri Sep 16, 2016 6:55 pm
Location: USA/Minnesota
Full name: Leo Anger

AMD BMI2 question

Post by Leo »

I forgot if BMI2 works well with AMD CPUs or not. Can someone tell me? Thanks.
Advanced Micro Devices fan.
User avatar
MikeB
Posts: 4889
Joined: Thu Mar 09, 2006 6:34 am
Location: Pen Argyl, Pennsylvania

Re: AMD BMI2 question

Post by MikeB »

Leo wrote: Sun Mar 10, 2019 9:05 pm I forgot if BMI2 works well with AMD CPUs or not. Can someone tell me? Thanks.
BMI2 is supported by AMDs Excavator architecture and newer. The simple solution is to run a bmi2 compile and then bench see if it's faster. If it does not run or it's slower, then you know. You can run bench and start stockfish all in one line - on macOS, it is "./stockfish bench >/dev/null". Even on Intel chips - it's only 5% faster on my machine. ymmv.
Image
Leo
Posts: 1078
Joined: Fri Sep 16, 2016 6:55 pm
Location: USA/Minnesota
Full name: Leo Anger

Re: AMD BMI2 question

Post by Leo »

Thanks. Much appreciated.
Advanced Micro Devices fan.
schack
Posts: 172
Joined: Thu May 27, 2010 3:32 am

Re: AMD BMI2 question

Post by schack »

It works, but not well. Use 'modern' compiles.
Leo
Posts: 1078
Joined: Fri Sep 16, 2016 6:55 pm
Location: USA/Minnesota
Full name: Leo Anger

Re: AMD BMI2 question

Post by Leo »

schack wrote: Mon Mar 11, 2019 3:42 am It works, but not well. Use 'modern' compiles.
Thanks. I will.
Advanced Micro Devices fan.