Theoretically it ought to help a little to have both prefetch instructions since the speculative prefetch is wrong for special moves such as castling and promotion, so in those cases the second prefetch will help. In case the first prefetch was correct, the second prefetch typically has no extra cost.Joerg Oster wrote:I thought this to be a speculative prefetch additional to the existing one in pos.do_move ...lucasart wrote:SHouldn't you remove the existing prefetch then? You're comulating the prefetch before and after legal move checking basically. I wonder if there's any cost in redoing a prefetch.Joerg Oster wrote:I have just pushed a test in fishtest to see how it does. I hope you don't mind. :)
Peter may correct me if I'm wrong.
However, in texel I removed the second prefetch because I could not measure any speed difference when doing so.