You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci(avr): permanent AVR runtime regression check for 16-bit-int bugs #5324
Host builds use a 32-bit int, so they can't catch AVR 16-bit-int bugs. Recent examples are #5301, #5303 and #5292. The int_literal_wide_shift lint rule (PR #5308) only catches literal shifts. A non-literal int/u8/u16 shifted by 16 or more still slips through, because it gets promoted to a 16-bit int on AVR.
Proposal: a permanent AVR runtime regression check in CI. Run the drawPolygon scene and kernel harness, and other math-heavy paths, under simavr or avr8js (avr8js already runs uno_avr8js_test), and compare the per-scene hashes against host output. A prototype harness that matched host on all 597 lines exists from the #5301 work.
Activity
ci(avr): check drawPolygon scene hashes on the avr8js Uno against host (