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

Make FP reg operand notation consistent #398

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

andresag01
Copy link
Collaborator

@andresag01 andresag01 commented Oct 2, 2024

Fixes #395 using the same notation from the RISC-V unprivileged ISA spec

@tariqkurd-repo
Copy link
Collaborator

tariqkurd-repo commented Oct 2, 2024

you've changed the assembly syntax which does use the f notation
it is a bugbear of mine that risc-v use integer src/dsts for fpu instructions, it makes their spec much harder to use
but certainly the encoding should use rd, rs1, rs2 to be consistent

Copy link
Collaborator

@tariqkurd-repo tariqkurd-repo left a comment

Choose a reason for hiding this comment

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

can we double check the RISC-V assembly syntax? I'm pretty sure it uses f numbers

switch asm syntax back

Signed-off-by: Tariq Kurd <[email protected]>
@tariqkurd-repo tariqkurd-repo self-requested a review October 2, 2024 17:33
@tariqkurd-repo tariqkurd-repo merged commit f72d917 into riscv:main Oct 3, 2024
3 checks passed
tariqkurd-repo added a commit to tariqkurd-repo/riscv-cheri that referenced this pull request Oct 9, 2024
Fixes riscv#395 using the same notation from the RISC-V unprivileged ISA spec

---------

Signed-off-by: Tariq Kurd <[email protected]>
Co-authored-by: Tariq Kurd <[email protected]>
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.

Floating point loads inconsistent mnemonic
3 participants