Skip to content

Add multiple $pseudo_op extensions - #224

Open
hirooih wants to merge 1 commit into
riscv:masterfrom
hirooih:add-multiple-pseudo_op-extensions
Open

Add multiple $pseudo_op extensions#224
hirooih wants to merge 1 commit into
riscv:masterfrom
hirooih:add-multiple-pseudo_op-extensions

Conversation

@hirooih

@hirooih hirooih commented Jan 12, 2024

Copy link
Copy Markdown
Contributor

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.

1 participant