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

fix: exo sum must be decoded for LIMB_VANISHES MMIO inst #509

Merged

Conversation

letypequividelespoubelles
Copy link
Collaborator

No description provided.

Signed-off-by: F Bojarski <ceciestunepoubelle@protonmail.ch>
@letypequividelespoubelles letypequividelespoubelles added the bug Something isn't working label Nov 15, 2024
@letypequividelespoubelles letypequividelespoubelles linked an issue Nov 15, 2024 that may be closed by this pull request
@@ -63,7 +63,8 @@
(eq! (weighted-exo-sum) (* (instruction-may-provide-exo-sum) EXO_SUM)))

(defun (instruction-may-provide-exo-sum)
(force-bool (+ IS_LIMB_TO_RAM_TRANSPLANT
(force-bool (+ IS_LIMB_VANISHES
IS_LIMB_TO_RAM_TRANSPLANT
Copy link
Collaborator

@OlivierBBB OlivierBBB Nov 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess for zero limbs in MODEXP data ? Either because we are providing < 512 bytes of data for base, exponent or module, or because the call data runs out @letypequividelespoubelles ?

Copy link
Collaborator

@OlivierBBB OlivierBBB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OlivierBBB OlivierBBB merged commit ec03fa8 into master Nov 21, 2024
2 checks passed
@OlivierBBB OlivierBBB deleted the 508-need-to-decode-exosum-for-limb-vanishes-mmio-inst branch November 21, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

need to decode ExoSum for Limb vanishes MMIO inst
2 participants