8302776: RISC-V: Fix typo CSR_INSTERT to CSR_INSTRET
Reviewed-by: fyang
This commit is contained in:
parent
7c40c8af69
commit
303c61f3ca
@ -1059,7 +1059,7 @@ void MacroAssembler::wrap_label(Register r1, Register r2, Label &L,
|
||||
csrr(Rd, CSR); \
|
||||
}
|
||||
|
||||
INSN(rdinstret, CSR_INSTERT);
|
||||
INSN(rdinstret, CSR_INSTRET);
|
||||
INSN(rdcycle, CSR_CYCLE);
|
||||
INSN(rdtime, CSR_TIME);
|
||||
INSN(frcsr, CSR_FCSR);
|
||||
|
@ -41,7 +41,7 @@
|
||||
#define CSR_VLENB 0xC22 // VLEN/8 (vector register length in bytes)
|
||||
#define CSR_CYCLE 0xc00 // Cycle counter for RDCYCLE instruction.
|
||||
#define CSR_TIME 0xc01 // Timer for RDTIME instruction.
|
||||
#define CSR_INSTERT 0xc02 // Instructions-retired counter for RDINSTRET instruction.
|
||||
#define CSR_INSTRET 0xc02 // Instructions-retired counter for RDINSTRET instruction.
|
||||
|
||||
class VMRegImpl;
|
||||
typedef VMRegImpl* VMReg;
|
||||
|
Loading…
Reference in New Issue
Block a user