https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125708

--- Comment #3 from Hongtao Liu <liuhongt at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #2)
> Does this show up in some important code or you just found a random
> optimization?

I found it in spec2026 706.stockfish_r, though it's not in hotspot.

code snippet:

  constexpr int futility_move_count(bool improving, Depth depth) {
   return (3 + depth * depth) / (2 - improving);
  }

Reply via email to