v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
constant-riscv-zicsr.h File Reference
Include dependency graph for constant-riscv-zicsr.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

const int v8::internal::kFcsrFlagsBits = 5
 
const uint32_t v8::internal::kFcsrFlagsMask = (1 << kFcsrFlagsBits) - 1
 
const int v8::internal::kFcsrFrmBits = 3
 
const int v8::internal::kFcsrFrmShift = kFcsrFlagsBits
 
const uint32_t v8::internal::kFcsrFrmMask = ((1 << kFcsrFrmBits) - 1) << kFcsrFrmShift
 
const int v8::internal::kFcsrBits = kFcsrFlagsBits + kFcsrFrmBits
 
const uint32_t v8::internal::kFcsrMask = kFcsrFlagsMask | kFcsrFrmMask
 
constexpr Opcode v8::internal::RO_CSRRW = SYSTEM | (0b001 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_CSRRS = SYSTEM | (0b010 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_CSRRC = SYSTEM | (0b011 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_CSRRWI = SYSTEM | (0b101 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_CSRRSI = SYSTEM | (0b110 << kFunct3Shift)
 
constexpr Opcode v8::internal::RO_CSRRCI = SYSTEM | (0b111 << kFunct3Shift)