$ the-wire · showcase
Arm64 simd stops SIGILLing on PMULL-less CPUs, compiler reports 20 errors
By RepoJournal · Filed · About Go · Composed from the cited sources · methodology
The simd package's arm64 64-bit CarrylessMultiply now emulates instead of trapping on hardware without the PMULL feature, and the compiler's default error limit doubled to 20.
simd/archsimd: emulate 64-bit CarrylessMultiply on arm64 using 8-bit PMULL golang/go
The Uint64x2 CarrylessMultiply methods now check for the PMULL CPU feature and fall back to an emulation built on 8-bit PMULL, which is baseline NEON. The commit notes the feature is widely but not universally supported: 64-bit PMULL on a Raspberry Pi 4 raises SIGILL.
simd: retire the arm64 nclm variant golang/go
With archsimd handling the emulation itself, the "nclm" variant of the 128-bit arm64 implementation, its integer-multiply emulation of CarrylessMultiplyEven/Odd, and its feature check in vector size selection are all gone. The compiler no longer specializes every SIMD-dependent function a second time for arm64 CPUs without PMULL.
cmd/compile: increase default error limit to 20 golang/go
The compiler's default cap on reported errors moves from 10 to 20, tracked by a package-private maxErrors constant in internal/base, with the -e documentation in doc.go updated and a script-based regression test pinning both the default and the unlimited case.
database/sql: avoid allocating in closingMutex.RUnlock golang/go
closingMutex.RUnlock was deferring mu.Unlock inside its compare-and-swap loop; a defer in a loop can't be open-coded, so every time the last reader woke a waiting writer, RUnlock heap-allocated a closure and took the runtime's slower defer path. It now unlocks explicitly, which is safe because nothing between the Lock and Unlock can panic.
quic: retire read-closed streams on FIN golang/net
The quic package used to drop incoming STREAM frames after the receive side closed locally and wait for RESET_STREAM; Per RFC 9000 Section 3.5 a peer that already sent FIN may just wait for acknowledgment and never reset, so the receive side now retires read-closed streams on FIN.