Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSP LLE: Apply saturation to LOOP and BLOOP with $ac0.m and $ac1.m #10716

Merged
merged 4 commits into from Jun 4, 2022

Conversation

Pokechu22
Copy link
Contributor

Discovered while working on #10692. LOOP and BLOOP experience the same saturation as other instructions. Documentation will be updated by the other PR.

Here's the relevant hardware test from #10692, as well as its results on master and this PR: 40bit_ins_test.zip. (The results are actually for running on #10715 versus running on #10715 + #10709 + this PR; the later combination gives results that exactly match real hardware.)

Instead, saturate in OpReadRegister, as all uses of OpReadRegisterAndSaturate called OpReadRegister for other registers (and there isn't anything that writes to $ac0.m or $ac1.m without saturation).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants