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

#include <extension-riscv-f.h>

Inheritance diagram for v8::internal::AssemblerRISCVF:
Collaboration diagram for v8::internal::AssemblerRISCVF:

Public Member Functions

void flw (FPURegister rd, Register rs1, int16_t imm12)
 
void fsw (FPURegister source, Register base, int16_t imm12)
 
void fmadd_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURegister rs3, FPURoundingMode frm=RNE)
 
void fmsub_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURegister rs3, FPURoundingMode frm=RNE)
 
void fnmsub_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURegister rs3, FPURoundingMode frm=RNE)
 
void fnmadd_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURegister rs3, FPURoundingMode frm=RNE)
 
void fadd_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURoundingMode frm=RNE)
 
void fsub_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURoundingMode frm=RNE)
 
void fmul_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURoundingMode frm=RNE)
 
void fdiv_s (FPURegister rd, FPURegister rs1, FPURegister rs2, FPURoundingMode frm=RNE)
 
void fsqrt_s (FPURegister rd, FPURegister rs1, FPURoundingMode frm=RNE)
 
void fsgnj_s (FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void fsgnjn_s (FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void fsgnjx_s (FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void fmin_s (FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void fmax_s (FPURegister rd, FPURegister rs1, FPURegister rs2)
 
void fcvt_w_s (Register rd, FPURegister rs1, FPURoundingMode frm=RNE)
 
void fcvt_wu_s (Register rd, FPURegister rs1, FPURoundingMode frm=RNE)
 
void fmv_x_w (Register rd, FPURegister rs1)
 
void feq_s (Register rd, FPURegister rs1, FPURegister rs2)
 
void flt_s (Register rd, FPURegister rs1, FPURegister rs2)
 
void fle_s (Register rd, FPURegister rs1, FPURegister rs2)
 
void fclass_s (Register rd, FPURegister rs1)
 
void fcvt_s_w (FPURegister rd, Register rs1, FPURoundingMode frm=RNE)
 
void fcvt_s_wu (FPURegister rd, Register rs1, FPURoundingMode frm=RNE)
 
void fmv_w_x (FPURegister rd, Register rs1)
 
void fmv_s (FPURegister rd, FPURegister rs)
 
void fabs_s (FPURegister rd, FPURegister rs)
 
void fneg_s (FPURegister rd, FPURegister 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-f.h.

Member Function Documentation

◆ fabs_s()

void v8::internal::AssemblerRISCVF::fabs_s ( FPURegister rd,
FPURegister rs )
inline

Definition at line 62 of file extension-riscv-f.h.

Here is the call graph for this function:

◆ fadd_s()

void v8::internal::AssemblerRISCVF::fadd_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURoundingMode frm = RNE )

Definition at line 39 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fclass_s()

void v8::internal::AssemblerRISCVF::fclass_s ( Register rd,
FPURegister rs1 )

Definition at line 113 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fcvt_s_w()

void v8::internal::AssemblerRISCVF::fcvt_s_w ( FPURegister rd,
Register rs1,
FPURoundingMode frm = RNE )

Definition at line 117 of file extension-riscv-f.cc.

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

◆ fcvt_s_wu()

void v8::internal::AssemblerRISCVF::fcvt_s_wu ( FPURegister rd,
Register rs1,
FPURoundingMode frm = RNE )

Definition at line 122 of file extension-riscv-f.cc.

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

◆ fcvt_w_s()

void v8::internal::AssemblerRISCVF::fcvt_w_s ( Register rd,
FPURegister rs1,
FPURoundingMode frm = RNE )

Definition at line 87 of file extension-riscv-f.cc.

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

◆ fcvt_wu_s()

void v8::internal::AssemblerRISCVF::fcvt_wu_s ( Register rd,
FPURegister rs1,
FPURoundingMode frm = RNE )

Definition at line 92 of file extension-riscv-f.cc.

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

◆ fdiv_s()

void v8::internal::AssemblerRISCVF::fdiv_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURoundingMode frm = RNE )

Definition at line 54 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ feq_s()

void v8::internal::AssemblerRISCVF::feq_s ( Register rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 101 of file extension-riscv-f.cc.

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

◆ fle_s()

void v8::internal::AssemblerRISCVF::fle_s ( Register rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 109 of file extension-riscv-f.cc.

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

◆ flt_s()

void v8::internal::AssemblerRISCVF::flt_s ( Register rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 105 of file extension-riscv-f.cc.

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

◆ flw()

void v8::internal::AssemblerRISCVF::flw ( FPURegister rd,
Register rs1,
int16_t imm12 )

Definition at line 11 of file extension-riscv-f.cc.

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

◆ fmadd_s()

void v8::internal::AssemblerRISCVF::fmadd_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURegister rs3,
FPURoundingMode frm = RNE )

Definition at line 19 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fmax_s()

void v8::internal::AssemblerRISCVF::fmax_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 83 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fmin_s()

void v8::internal::AssemblerRISCVF::fmin_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 79 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fmsub_s()

void v8::internal::AssemblerRISCVF::fmsub_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURegister rs3,
FPURoundingMode frm = RNE )

Definition at line 24 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fmul_s()

void v8::internal::AssemblerRISCVF::fmul_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURoundingMode frm = RNE )

Definition at line 49 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fmv_s()

void v8::internal::AssemblerRISCVF::fmv_s ( FPURegister rd,
FPURegister rs )
inline

Definition at line 61 of file extension-riscv-f.h.

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

◆ fmv_w_x()

void v8::internal::AssemblerRISCVF::fmv_w_x ( FPURegister rd,
Register rs1 )

Definition at line 127 of file extension-riscv-f.cc.

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

◆ fmv_x_w()

void v8::internal::AssemblerRISCVF::fmv_x_w ( Register rd,
FPURegister rs1 )

Definition at line 97 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fneg_s()

void v8::internal::AssemblerRISCVF::fneg_s ( FPURegister rd,
FPURegister rs )
inline

Definition at line 63 of file extension-riscv-f.h.

Here is the call graph for this function:

◆ fnmadd_s()

void v8::internal::AssemblerRISCVF::fnmadd_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURegister rs3,
FPURoundingMode frm = RNE )

Definition at line 34 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fnmsub_s()

void v8::internal::AssemblerRISCVF::fnmsub_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURegister rs3,
FPURoundingMode frm = RNE )

Definition at line 29 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fsgnj_s()

void v8::internal::AssemblerRISCVF::fsgnj_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 64 of file extension-riscv-f.cc.

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

◆ fsgnjn_s()

void v8::internal::AssemblerRISCVF::fsgnjn_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 69 of file extension-riscv-f.cc.

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

◆ fsgnjx_s()

void v8::internal::AssemblerRISCVF::fsgnjx_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2 )

Definition at line 74 of file extension-riscv-f.cc.

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

◆ fsqrt_s()

void v8::internal::AssemblerRISCVF::fsqrt_s ( FPURegister rd,
FPURegister rs1,
FPURoundingMode frm = RNE )

Definition at line 59 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fsub_s()

void v8::internal::AssemblerRISCVF::fsub_s ( FPURegister rd,
FPURegister rs1,
FPURegister rs2,
FPURoundingMode frm = RNE )

Definition at line 44 of file extension-riscv-f.cc.

Here is the call graph for this function:

◆ fsw()

void v8::internal::AssemblerRISCVF::fsw ( FPURegister source,
Register base,
int16_t imm12 )

Definition at line 15 of file extension-riscv-f.cc.

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

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