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
Fix Jaguar DSP MAC accumulator to true 40-bit semantics (#118)
Track IMACN accumulation in hardware-correct signed 40-bit wrap and keep
bits 63..40 clear so RESMAC and control-register reads stay consistent.
Adds dsp_acc40.h helpers and test/test_dsp_mac40.c (CI).
Mitigates long-IIR DSP paths (e.g. pink-noise generation) diverging vs real HW.
Made-with: Cursor
Copy file name to clipboardExpand all lines: CLAUDE.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,7 @@ Key docs:
93
93
### Testing
94
94
95
95
See `docs/test-infrastructure.md` for all test harnesses:
96
+
-`test/test_dsp_mac40.c` — Jaguar DSP **40-bit MAC** accumulator semantics (`dsp_acc40.h`), run in CI with SIMD tests; relevant for long IIR chains (e.g. pink-noise generators on DSP).
96
97
-`test/headless.py` — Python headless runner via libretro.py (screenshots, frame control)
97
98
-`test/regression_test.sh` — screenshot regression suite with baseline comparison
98
99
-`test/test_cd_boot.c` — low-level C harness with dlsym access to 68K registers and RAM
0 commit comments