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

Zicfiss instruction encoding updates #154

Closed
ved-rivos opened this issue Sep 6, 2023 · 4 comments
Closed

Zicfiss instruction encoding updates #154

ved-rivos opened this issue Sep 6, 2023 · 4 comments

Comments

@ved-rivos
Copy link
Collaborator

The ARC has realized that only a subset of SS instructions really need to be mops. Currently, these are SSRDP, SSPUSH, and SSPOPCHK. The other SS instructions should have non-mop encodings. This issue is opened to track the exact encodings that are pending allocation.

@ved-rivos
Copy link
Collaborator Author

The ssamoswap is the one instruction to be encoded using a non-mop code point. The direction is to use a funct5 encoding of the AMO opcode for this instruction. Update pending allocation of the encoding.

@ved-rivos
Copy link
Collaborator Author

PR #159 created to update the code points.

  • sspush updated to use mop.rr.7, which decodes as similarly as possible to HSV.D
  • sspopchk updated to use mop.r.28, which decodes as similarly as possible to HLV.D
  • ssrdp updated to use mop.r.0

@ved-rivos
Copy link
Collaborator Author

Closing this issue. Please leave feedback in the PR.

@ved-rivos
Copy link
Collaborator Author

Couple of additional updates:

  1. SSRDP moved to use MOP.R.28
  2. The Zcmop mnemonics were changed to C.MOP.1, C.MOP.3, C.MOP.5, ... -> with this update the code points used by Zicfiss would have mnemonics C.MOP.1 and C.MOP.5.

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

No branches or pull requests

1 participant