model-writtenrun 6235 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- John Naylor proposed eliminating unnecessary popcount function-pointer calls on non-x86 platforms, alongside a separate pure-C fallback experiment and a benchmark module; his Power8 measurements showed a substantial direct-call improvement but a regression from replacing compiler intrinsics #1.
- David Rowley recommended preserving the existing function names through direct-call wrappers to avoid changing callers and extensions, and John adopted that approach in his revision #2 #3.
- David supplied a further revision that kept the fast and slow helpers static, reported that it worked, and explained that the compiler could inline the slow helpers into the wrappers #4.
- Álvaro Herrera questioned MSVC CPU-feature checking; David confirmed that runtime CPUID checks remained, and Álvaro accepted the conditional compilation after rereading it, while David and John also questioned the configure-time instruction check without changing it in this patch #5 #6 #7 #8 #9.
- John measured 312 ms for David's revision against 646 ms on master, accepted its clearer implementation despite earlier versions being faster, and deferred the separate pure-C fallback proposal because of its wider implications and competing work #10.
- John committed David's revision #4 as 4864c8e8f1 with only two comment edits and confirmed the push in the final message; the direct-call change landed, while the pure-C fallback proposal remained deferred #11.