Skip to content

Conversation

@aswaterman
Copy link
Collaborator

@aswaterman aswaterman commented Nov 14, 2025

  • Fix an escape where if the I$ was incoherent with main memory, the landing-pad MSBs would not be checked. (For obvious reasons, this was only possible with Ziccid turned off.)
  • Significantly speed up function returns by moving most of the ELP overhead off the critical code path.

Avoids establishing a stack frame.
If main memory contained an LPAD instruction but the incoherent I$ contained
an unrelated instruction, then the landing-pad MSBs would not have been
checked.  Fix by making the I$ coherent with the LPAD when the initial
landing-pad check is performed.
@aswaterman
Copy link
Collaborator Author

FYI @ved-rivos

@ved-rivos
Copy link
Contributor

LGTM!

@aswaterman aswaterman merged commit 5bea40c into master Nov 14, 2025
3 checks passed
@aswaterman aswaterman deleted the zicfilp-improvements branch November 14, 2025 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants