v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::AssemblerRISCVZicsr Class Reference

#include <extension-riscv-zicsr.h>

Inheritance diagram for v8::internal::AssemblerRISCVZicsr:
Collaboration diagram for v8::internal::AssemblerRISCVZicsr:

Public Member Functions

void csrrw (Register rd, ControlStatusReg csr, Register rs1)
 
void csrrs (Register rd, ControlStatusReg csr, Register rs1)
 
void csrrc (Register rd, ControlStatusReg csr, Register rs1)
 
void csrrwi (Register rd, ControlStatusReg csr, uint8_t imm5)
 
void csrrsi (Register rd, ControlStatusReg csr, uint8_t imm5)
 
void csrrci (Register rd, ControlStatusReg csr, uint8_t imm5)
 
void rdinstret (Register rd)
 
void rdinstreth (Register rd)
 
void rdcycle (Register rd)
 
void rdcycleh (Register rd)
 
void rdtime (Register rd)
 
void rdtimeh (Register rd)
 
void csrr (Register rd, ControlStatusReg csr)
 
void csrw (ControlStatusReg csr, Register rs)
 
void csrs (ControlStatusReg csr, Register rs)
 
void csrc (ControlStatusReg csr, Register rs)
 
void csrwi (ControlStatusReg csr, uint8_t imm)
 
void csrsi (ControlStatusReg csr, uint8_t imm)
 
void csrci (ControlStatusReg csr, uint8_t imm)
 
void frcsr (Register rd)
 
void fscsr (Register rd, Register rs)
 
void fscsr (Register rs)
 
void frrm (Register rd)
 
void fsrm (Register rd, Register rs)
 
void fsrm (Register rs)
 
void frflags (Register rd)
 
void fsflags (Register rd, Register rs)
 
void fsflags (Register rs)
 

Additional Inherited Members

- Protected Types inherited from v8::internal::AssemblerRiscvBase
enum  OffsetSize : int {
  kOffset21 = 21 , kOffset12 = 12 , kOffset20 = 20 , kOffset13 = 13 ,
  kOffset32 = 32 , kOffset11 = 11 , kOffset9 = 9
}
 
- Protected Member Functions inherited from v8::internal::AssemblerRiscvBase
virtual int32_t branch_offset_helper (Label *L, OffsetSize bits)=0
 
virtual void emit (Instr x)=0
 
virtual void emit (ShortInstr x)=0
 
virtual void emit (uint64_t x)=0
 
virtual void ClearVectorunit ()=0
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, Register rd, Register rs1, Register rs2)
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, Register rd, FPURegister rs1, Register rs2)
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, FPURegister rd, Register rs1, Register rs2)
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, FPURegister rd, FPURegister rs1, Register rs2)
 
void GenInstrR (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, Register rd, FPURegister rs1, FPURegister rs2)
 
void GenInstrR4 (uint8_t funct2, BaseOpcode opcode, Register rd, Register rs1, Register rs2, Register rs3, FPURoundingMode frm)
 
void GenInstrR4 (uint8_t funct2, BaseOpcode opcode, FPURegister rd, FPURegister rs1, FPURegister rs2, FPURegister rs3, FPURoundingMode frm)
 
void GenInstrRAtomic (uint8_t funct5, bool aq, bool rl, uint8_t funct3, Register rd, Register rs1, Register rs2)
 
void GenInstrRFrm (uint8_t funct7, BaseOpcode opcode, Register rd, Register rs1, Register rs2, FPURoundingMode frm)
 
void GenInstrI (uint8_t funct3, BaseOpcode opcode, Register rd, Register rs1, int16_t imm12)
 
void GenInstrI (uint8_t funct3, BaseOpcode opcode, FPURegister rd, Register rs1, int16_t imm12)
 
void GenInstrIShift (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, Register rd, Register rs1, uint8_t shamt)
 
void GenInstrIShiftW (uint8_t funct7, uint8_t funct3, BaseOpcode opcode, Register rd, Register rs1, uint8_t shamt)
 
void GenInstrS (uint8_t funct3, BaseOpcode opcode, Register rs1, Register rs2, int16_t imm12)
 
void GenInstrS (uint8_t funct3, BaseOpcode opcode, Register rs1, FPURegister rs2, int16_t imm12)
 
void GenInstrB (uint8_t funct3, BaseOpcode opcode, Register rs1, Register rs2, int16_t imm12)
 
void GenInstrU (BaseOpcode opcode, Register rd, int32_t imm20)
 
void GenInstrJ (BaseOpcode opcode, Register rd, int32_t imm20)
 
void GenInstrCR (uint8_t funct4, BaseOpcode opcode, Register rd, Register rs2)
 
void GenInstrCA (uint8_t funct6, BaseOpcode opcode, Register rd, uint8_t funct, Register rs2)
 
void GenInstrCI (uint8_t funct3, BaseOpcode opcode, Register rd, int8_t imm6)
 
void GenInstrCIU (uint8_t funct3, BaseOpcode opcode, Register rd, uint8_t uimm6)
 
void GenInstrCIU (uint8_t funct3, BaseOpcode opcode, FPURegister rd, uint8_t uimm6)
 
void GenInstrCIW (uint8_t funct3, BaseOpcode opcode, Register rd, uint8_t uimm8)
 
void GenInstrCSS (uint8_t funct3, BaseOpcode opcode, FPURegister rs2, uint8_t uimm6)
 
void GenInstrCSS (uint8_t funct3, BaseOpcode opcode, Register rs2, uint8_t uimm6)
 
void GenInstrCL (uint8_t funct3, BaseOpcode opcode, Register rd, Register rs1, uint8_t uimm5)
 
void GenInstrCL (uint8_t funct3, BaseOpcode opcode, FPURegister rd, Register rs1, uint8_t uimm5)
 
void GenInstrCS (uint8_t funct3, BaseOpcode opcode, Register rs2, Register rs1, uint8_t uimm5)
 
void GenInstrCS (uint8_t funct3, BaseOpcode opcode, FPURegister rs2, Register rs1, uint8_t uimm5)
 
void GenInstrCJ (uint8_t funct3, BaseOpcode opcode, uint16_t uint11)
 
void GenInstrCB (uint8_t funct3, BaseOpcode opcode, Register rs1, uint8_t uimm8)
 
void GenInstrCBA (uint8_t funct3, uint8_t funct2, BaseOpcode opcode, Register rs1, int8_t imm6)
 
void GenInstrBranchCC_rri (uint8_t funct3, Register rs1, Register rs2, int16_t imm12)
 
void GenInstrLoad_ri (uint8_t funct3, Register rd, Register rs1, int16_t imm12)
 
void GenInstrStore_rri (uint8_t funct3, Register rs1, Register rs2, int16_t imm12)
 
void GenInstrALU_ri (uint8_t funct3, Register rd, Register rs1, int16_t imm12)
 
void GenInstrShift_ri (bool arithshift, uint8_t funct3, Register rd, Register rs1, uint8_t shamt)
 
void GenInstrALU_rr (uint8_t funct7, uint8_t funct3, Register rd, Register rs1, Register rs2)
 
void GenInstrCSR_ir (uint8_t funct3, Register rd, ControlStatusReg csr, Register rs1)
 
void GenInstrCSR_ii (uint8_t funct3, Register rd, ControlStatusReg csr, uint8_t rs1)
 
void GenInstrShiftW_ri (bool arithshift, uint8_t funct3, Register rd, Register rs1, uint8_t shamt)
 
void GenInstrALUW_rr (uint8_t funct7, uint8_t funct3, Register rd, Register rs1, Register rs2)
 
void GenInstrPriv (uint8_t funct7, Register rs1, Register rs2)
 
void GenInstrLoadFP_ri (uint8_t funct3, FPURegister rd, Register rs1, int16_t imm12)
 
void GenInstrStoreFP_rri (uint8_t funct3, Register rs1, FPURegister rs2, int16_t imm12)
 
void GenInstrALUFP_rr (uint8_t funct7, uint8_t funct3, FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void GenInstrALUFP_rr (uint8_t funct7, uint8_t funct3, FPURegister rd, Register rs1, Register rs2)
 
void GenInstrALUFP_rr (uint8_t funct7, uint8_t funct3, FPURegister rd, FPURegister rs1, Register rs2)
 
void GenInstrALUFP_rr (uint8_t funct7, uint8_t funct3, Register rd, FPURegister rs1, Register rs2)
 
void GenInstrALUFP_rr (uint8_t funct7, uint8_t funct3, Register rd, FPURegister rs1, FPURegister rs2)
 
virtual void BlockTrampolinePoolFor (int instructions)=0
 

Detailed Description

Definition at line 15 of file extension-riscv-zicsr.h.

Member Function Documentation

◆ csrc()

void v8::internal::AssemblerRISCVZicsr::csrc ( ControlStatusReg csr,
Register rs )
inline

Definition at line 36 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrci()

void v8::internal::AssemblerRISCVZicsr::csrci ( ControlStatusReg csr,
uint8_t imm )
inline

Definition at line 40 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrr()

void v8::internal::AssemblerRISCVZicsr::csrr ( Register rd,
ControlStatusReg csr )
inline

Definition at line 33 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrrc()

void v8::internal::AssemblerRISCVZicsr::csrrc ( Register rd,
ControlStatusReg csr,
Register rs1 )

Definition at line 23 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrrci()

void v8::internal::AssemblerRISCVZicsr::csrrci ( Register rd,
ControlStatusReg csr,
uint8_t imm5 )

Definition at line 38 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrrs()

void v8::internal::AssemblerRISCVZicsr::csrrs ( Register rd,
ControlStatusReg csr,
Register rs1 )

Definition at line 18 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrrsi()

void v8::internal::AssemblerRISCVZicsr::csrrsi ( Register rd,
ControlStatusReg csr,
uint8_t imm5 )

Definition at line 33 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrrw()

void v8::internal::AssemblerRISCVZicsr::csrrw ( Register rd,
ControlStatusReg csr,
Register rs1 )

Definition at line 13 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrrwi()

void v8::internal::AssemblerRISCVZicsr::csrrwi ( Register rd,
ControlStatusReg csr,
uint8_t imm5 )

Definition at line 28 of file extension-riscv-zicsr.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ csrs()

void v8::internal::AssemblerRISCVZicsr::csrs ( ControlStatusReg csr,
Register rs )
inline

Definition at line 35 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrsi()

void v8::internal::AssemblerRISCVZicsr::csrsi ( ControlStatusReg csr,
uint8_t imm )
inline

Definition at line 39 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrw()

void v8::internal::AssemblerRISCVZicsr::csrw ( ControlStatusReg csr,
Register rs )
inline

Definition at line 34 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ csrwi()

void v8::internal::AssemblerRISCVZicsr::csrwi ( ControlStatusReg csr,
uint8_t imm )
inline

Definition at line 38 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ frcsr()

void v8::internal::AssemblerRISCVZicsr::frcsr ( Register rd)
inline

Definition at line 42 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ frflags()

void v8::internal::AssemblerRISCVZicsr::frflags ( Register rd)
inline

Definition at line 50 of file extension-riscv-zicsr.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ frrm()

void v8::internal::AssemblerRISCVZicsr::frrm ( Register rd)
inline

Definition at line 46 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fscsr() [1/2]

void v8::internal::AssemblerRISCVZicsr::fscsr ( Register rd,
Register rs )
inline

Definition at line 43 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fscsr() [2/2]

void v8::internal::AssemblerRISCVZicsr::fscsr ( Register rs)
inline

Definition at line 44 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fsflags() [1/2]

void v8::internal::AssemblerRISCVZicsr::fsflags ( Register rd,
Register rs )
inline

Definition at line 51 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fsflags() [2/2]

void v8::internal::AssemblerRISCVZicsr::fsflags ( Register rs)
inline

Definition at line 52 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fsrm() [1/2]

void v8::internal::AssemblerRISCVZicsr::fsrm ( Register rd,
Register rs )
inline

Definition at line 47 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ fsrm() [2/2]

void v8::internal::AssemblerRISCVZicsr::fsrm ( Register rs)
inline

Definition at line 48 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdcycle()

void v8::internal::AssemblerRISCVZicsr::rdcycle ( Register rd)
inline

Definition at line 28 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdcycleh()

void v8::internal::AssemblerRISCVZicsr::rdcycleh ( Register rd)
inline

Definition at line 29 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdinstret()

void v8::internal::AssemblerRISCVZicsr::rdinstret ( Register rd)
inline

Definition at line 26 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdinstreth()

void v8::internal::AssemblerRISCVZicsr::rdinstreth ( Register rd)
inline

Definition at line 27 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdtime()

void v8::internal::AssemblerRISCVZicsr::rdtime ( Register rd)
inline

Definition at line 30 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

◆ rdtimeh()

void v8::internal::AssemblerRISCVZicsr::rdtimeh ( Register rd)
inline

Definition at line 31 of file extension-riscv-zicsr.h.

Here is the call graph for this function:

The documentation for this class was generated from the following files: