v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
constant-riscv-i.h File Reference
Include dependency graph for constant-riscv-i.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 

Variables

constexpr Opcode v8::internal::RO_LUI = LUI
 
constexpr Opcode v8::internal::RO_AUIPC = AUIPC
 
constexpr Opcode v8::internal::RO_JAL = JAL
 
constexpr Opcode v8::internal::RO_JALR = JALR | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BEQ = BRANCH | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BNE = BRANCH | (0b001 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BLT = BRANCH | (0b100 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BGE = BRANCH | (0b101 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BLTU = BRANCH | (0b110 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_BGEU = BRANCH | (0b111 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_LB = LOAD | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_LH = LOAD | (0b001 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_LW = LOAD | (0b010 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_LBU = LOAD | (0b100 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_LHU = LOAD | (0b101 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SB = STORE | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SH = STORE | (0b001 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SW = STORE | (0b010 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_ADDI = OP_IMM | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SLTI = OP_IMM | (0b010 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SLTIU = OP_IMM | (0b011 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_XORI = OP_IMM | (0b100 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_ORI = OP_IMM | (0b110 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_ANDI = OP_IMM | (0b111 << kFunct3Shift)
 
constexpr Opcode v8::internal::OP_SHL = OP_IMM | (0b001 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SLLI = OP_SHL | (0b000000 << kFunct6Shift)
 
constexpr Opcode v8::internal::OP_SHR = OP_IMM | (0b101 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_SRLI = OP_SHR | (0b000000 << kFunct6Shift)
 
constexpr Opcode v8::internal::RO_SRAI = OP_SHR | (0b010000 << kFunct6Shift)
 
constexpr Opcode v8::internal::RO_ADD
 
constexpr Opcode v8::internal::RO_SUB
 
constexpr Opcode v8::internal::RO_SLL
 
constexpr Opcode v8::internal::RO_SLT
 
constexpr Opcode v8::internal::RO_SLTU
 
constexpr Opcode v8::internal::RO_XOR
 
constexpr Opcode v8::internal::RO_SRL
 
constexpr Opcode v8::internal::RO_SRA
 
constexpr Opcode v8::internal::RO_OR
 
constexpr Opcode v8::internal::RO_AND
 
constexpr Opcode v8::internal::RO_FENCE = MISC_MEM | (0b000 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_ECALL = SYSTEM | (0b000 << kFunct3Shift)