Transpute
The transputer is a series of pioneering microprocessors developed in the 1980s designed for parallel computing. It features a unique architecture with links for high-speed communication between processors. (en.wikipedia.org)
While packaging the math library normaliz on a LoongArch server, maintainers hit an infinite loop: an OpenMP-parallel loop never terminated because a shared counter never reached its expected total. Debugging showed the code used #pragma omp atomic increments compiled to the LoongArch64 amadd.d instruction, but per-run counter totals diverged unpredictably. Human-driven reduction failed to produce a minimal reproducer, so the bug was shelved until AI-assisted investigation resumed months later. The AI-aided approach quickly produced a stable minimal test and revealed the root cause: the CPU’s atomic add sometimes loses updates, so atomics that should be indivisible occasionally fail under specific runtime conditions.
Further tests showed CAS and a wide range of atomic operations can suffer the same lost-update behavior. The trigger was linked to vectorized memcpy using LASX instructions (xvld); LSX vector loads and ordinary scalar reads usually did not trigger it, though later work found certain memory-address relationships can make scalar reads trigger the bug at lower probability. Loongson received the report, produced a firmware patch within two weeks that fixes the erratum with almost no performance loss, and provided test firmware that reproduces the fix; a public firmware release was expected before October 1.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
The transputer is a series of pioneering microprocessors developed in the 1980s designed for parallel computing. It features a unique architecture with links for high-speed communication between processors. (en.wikipedia.org)
Tesla has begun delivering its all-electric Semi trucks after nearly a decade of development and delays. The trucks aim to lower ownership costs, reduce emissions, and will be produced at a new factory in Reno with plans to build up to 50,000 annually. (techcrunch.com)
Gea Stack aims to make hardware programmable and adaptable through software, enabling a unified development approach across various devices. It uses a single TypeScript codebase that is compiled into native code for different hardware platforms, eliminating the need for multiple development stacks. (twitter.com)
Toyota developed a prototype chair with light-up, independently moving legs, showcasing innovative wheelchair design. However, some designs are overly elaborate or impractical, highlighting the gap between technological potential and user needs. (newmobility.com)
Casio's CZP-1 synthesizer can now load custom patches via JSON files and share sounds through URLs, enabling easier sound customization and sharing. This process involves downloading patch data, loading it into the device, and using web links to exchange sounds seamlessly. (ambionix.com)
Amiga screens are display areas used to show graphics, with varying resolutions and color depths depending on hardware upgrades. The original hardware, OCS, allowed users to control screen resolution and colors within hardware limitations, making it popular for graphics and demos. (datagubbe.se)
Today's best Hacker News stories, summarized and screenshotted, one email a day.