model-writtenrun 715 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- John Naylor opened the thread with generated ARM PMULL CRC code, constant-input inlining, and an experimental alignment preamble for WAL; the initial implementation supported Meson and left runtime detection and alignment choices unfinished #1.
- After an eight-month gap, John simplified the proposal to direct scalar calls for small constant inputs, retained the generated vector algorithm, dropped the experimental WAL preamble, and isolated forced macOS testing in a patch marked not for commitment #2.
- Haibo Yan questioned the inline assembly and advocated intrinsics, but John retained the generated helpers because rewriting and validating them across hardware and compilers offered insufficient benefit so close to feature freeze #3 #4 #5 #6.
- John added Autoconf support but raised concerns about overriding CFLAGS_CRC; Nathan Bossart explored appending compiler flags before suggesting per-function target attributes, which John adopted along with build fixes #7 #8 #9 #10 #11.
- Nathan traced the macOS CI timeout to recursive dispatch without an initialized fallback, then cautioned that choosing software CRC would regress existing hardware support; John fixed initialization to preserve the scalar ARM path #12 #13 #14.
- John reported nearly twice the scalar throughput on long inputs on Neoverse N1, supplied an uncommittable benchmark harness, and proposed bypassing the vector preamble below 80 bytes #14.
- After Nathan approved the final production patch, John landed it with a comment clarification and redundant CFLAGS handling removed; the benchmark harness was excluded #15 #16 fbc57f2bc2.
- Nathan then supplied an inline comment-formatting correction to avoid a pgindent complaint, which John acknowledged #17 #18.
- Tomas Vondra reported and tested a fix for clang unused-function warnings on 32-bit ARM; John committed the suggested PMULL availability guard and removed the inline hint #19 #20 2849fe4c97.
- An MSVC buildfarm failure exposed the unguarded __builtin_constant_p use; John reported fixing the ARM path with pg_integer_constant_p and suitable guards, while reserving the analogous backpatchable x86 correction for later #21.
- John submitted the promised small-input delta, Nathan approved it, and John committed it with only comment edits, ensuring inputs below 80 bytes bypass vector alignment work #22 #23 #24 948ef7cdc4.
- John subsequently completed the x86 constant-expression portability follow-up by guarding the optimization and using pg_integer_constant_p in the development branch #25 6766264262.
- Peter Eisentraut noticed that the implementation retained alignment syntax superseded during concurrent development, proposed three C11 alignas replacements, and committed the patch unchanged after John's approval #26 #27 8061bfd15a.
- The thread ends with Peter confirming the cleanup was committed; the production implementation and submitted follow-up fixes had landed, while the benchmark and testing-only attachments remained outside the committed work #28.