![]() |
NEORV32 Software Framework Documentation
The NEORV32 RISC-V Processor
|
Helper macros for custom "intrinsics" / instructions. More...
#include <stdint.h>Go to the source code of this file.
Macros | |
R2-type instruction format, RISC-V-standard | |
| #define | CUSTOM_INSTR_R2_TYPE(funct7, funct5, rs1, funct3, opcode) |
R3-type instruction format, RISC-V-standard | |
| #define | CUSTOM_INSTR_R3_TYPE(funct7, rs2, rs1, funct3, opcode) |
R4-type instruction format, RISC-V-standard | |
| #define | CUSTOM_INSTR_R4_TYPE(rs3, rs2, rs1, funct3, opcode) |
I-type instruction format, RISC-V-standard | |
| #define | CUSTOM_INSTR_I_TYPE(imm12, rs1, funct3, opcode) |
S-type instruction format, RISC-V-standard | |
| #define | CUSTOM_INSTR_S_TYPE(imm12, rs2, rs1, funct3, opcode) |
Helper macros for custom "intrinsics" / instructions.
| #define CUSTOM_INSTR_I_TYPE | ( | imm12, | |
| rs1, | |||
| funct3, | |||
| opcode ) |
| #define CUSTOM_INSTR_R2_TYPE | ( | funct7, | |
| funct5, | |||
| rs1, | |||
| funct3, | |||
| opcode ) |
| #define CUSTOM_INSTR_R3_TYPE | ( | funct7, | |
| rs2, | |||
| rs1, | |||
| funct3, | |||
| opcode ) |
| #define CUSTOM_INSTR_R4_TYPE | ( | rs3, | |
| rs2, | |||
| rs1, | |||
| funct3, | |||
| opcode ) |
| #define CUSTOM_INSTR_S_TYPE | ( | imm12, | |
| rs2, | |||
| rs1, | |||
| funct3, | |||
| opcode ) |