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

Add multiple $pseudo_op extensions #224

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hirooih
Copy link
Contributor

@hirooih hirooih commented Jan 12, 2024

I wrote in #220 (comment):

Note: rev8 and rori are aliased in rv32_{zk,zkn,zks}. But only rv32_zks is shown in the extension field in instr_dict.yaml. I think this is an issue of parse.py.

This is the fix for this issue.

For example brev8 emits;

  brev8:
    encoding: 000010001111-----101-----0010011
    extension:
    - rv32_zks
+   - rv32_zkn
+   - rv32_zk
+   - rv32_zbkb
    mask: '0xfff0707f'
    ...

If a pseudo_op with same encoding is already in the dictionary,
then add its extension on the extension fields.

Signed-off-by: Hiroo HAYASHI <24754036+hirooih@users.noreply.github.com>
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.

None yet

1 participant