model-writtenrun 2787 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Bastien Roucariès opened the thread by requesting Linux auxv-based ARM CRC detection instead of catching SIGILL, citing concerns about signal handling in #1 and #3; Heikki Linnakangas and Tom Lane asked how to preserve portability in #2, #4 and #5.
- After Bastien supplied examples from other libraries in #7, Thomas Munro explained that FreeBSD and OpenBSD now offered suitable auxv APIs, while macOS and anticipated Windows/ARM targets already had sufficiently recent CPU baselines in #9; Tom outlined an OS-specific strategy that initially left NetBSD without runtime acceleration in #10.
- Tom proposed dropping runtime ARM CRC detection altogether in #11, but Bastien and Thomas explained that conservative Debian and FreeBSD build baselines still needed it to exploit newer hardware in #12 and #13.
- Thomas submitted the auxv implementation after testing Debian and FreeBSD in #14, then added ARM32 capability selection in #17 after Bastien identified the missing ARM32 handling in #16.
- Nathan Bossart described compiler target attributes as a future simplification in #15, but header and compiler support limitations led Thomas to retain explicit auxv checks for this work in #19.
- Thomas incorporated Bastien's final include-guard suggestion from #18 and committed #17 with light edits as aac831cafa, announcing it in #20; the commit deliberately avoided backpatching because no actual failure of the old technique had been demonstrated.
- Tom found that NetBSD's cpuctl identification worked without root and submitted tested AArch64 sysctl support in #21; Thomas supplied ARM32 register details in #22, leading to the combined implementation in #24, which conservatively returned false for unsupported kernel/userland combinations.
- While testing NetBSD ARM32, Tom discovered that the existing compiler probe silently selected software CRC because -march=armv8-a+crc conflicted with hard-float ABI requirements in #24; Thomas connected this to newer Linux GCC behavior in #25.
- Tom submitted a separate configure and Meson fix using an additional -mfpu=vfpv3 probe, tested on Raspberry Pi Linux and NetBSD, in #28; Thomas approved it and suggested vfpv4 in #29, which Tom initially accepted in #30.
- After filing a GCC report in #31 and comparing older working compilers in #32 and #33, Tom reported that GCC intentionally stopped preserving default FPU settings when -march changed and selected the idiomatic +simd spelling in #34.
- The NetBSD implementation from #24 landed as 4570b22666 with only two added comments; like the auxv change, it was limited to the development branch.
- The compiler-probe work from #28 landed as 32057a0f79, replacing the separate FPU flag with +simd and testing that spelling first, as Tom announced in #35; this longstanding build issue was backpatched to all supported branches.
- Initial buildfarm results prompted Tom to consider removing the plain +crc fallback in #36, but an ARM32 Clang animal required it, so both spellings remained and Tom declared the thread closed in #37.