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

[sw] rework intrinsic libraries #448

Merged
merged 4 commits into from Dec 1, 2022
Merged

[sw] rework intrinsic libraries #448

merged 4 commits into from Dec 1, 2022

Conversation

stnolting
Copy link
Owner

This PR is a rework of the core's intrinsic / custom instruction library.

  • fixed names of intrinsic prototypes: e.g. a "r3" type instruction consists of 3 registers (2 source registers, 1 destination register)
  • neorv32_cfu_r3_instr(funct7, funct3, rs1, rs2)´is now the primitive for custom instructions (CFU); a compatibility layer is provided to further support the CFU's neorv32_cfu_cmd0(funct7, rs1, rs2) ... neorv32_cfu_cmd7(funct7, rs1, rs2) intrinsics
  • the documentation will be updated/fixed in an upcoming PR

fix instruction type name; e.g. r3 type = 3 registers (2 source registers, 1 destination register)
@stnolting stnolting added the SW software-related label Dec 1, 2022
@stnolting stnolting self-assigned this Dec 1, 2022
@stnolting stnolting added the risc-v compliance Modification to comply with official RISC-V specs. label Dec 1, 2022
@stnolting stnolting marked this pull request as ready for review December 1, 2022 19:16
@stnolting stnolting merged commit 9b16eee into main Dec 1, 2022
@stnolting stnolting deleted the sw_rework_intrinsics branch December 1, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
risc-v compliance Modification to comply with official RISC-V specs. SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant