Searched refs:masked_csr_t (Results 1 – 3 of 3) sorted by relevance
/dports/emulators/riscv-isa-sim/riscv-isa-sim-4f12984/riscv/ |
H A D | csrs.cc | 747 masked_csr_t::masked_csr_t(processor_t* const proc, const reg_t addr, const reg_t mask, const reg_t… in masked_csr_t() function in masked_csr_t 752 bool masked_csr_t::unlogged_write(const reg_t val) noexcept { in unlogged_write() 1144 masked_csr_t(proc, addr, mask, init) { in float_csr_t() 1148 masked_csr_t::verify_permissions(insn, write); in verify_permissions() 1156 return masked_csr_t::unlogged_write(val); in unlogged_write() 1232 masked_csr_t(proc, addr, /*mask*/ 1, /*init*/ 0) { in vxsat_csr_t() 1239 masked_csr_t::verify_permissions(insn, write); in verify_permissions() 1244 return masked_csr_t::unlogged_write(val); in unlogged_write()
|
H A D | csrs.h | 397 class masked_csr_t: public basic_csr_t { 399 masked_csr_t(processor_t* const proc, const reg_t addr, const reg_t mask, const reg_t init); 588 class float_csr_t: public masked_csr_t { 640 class vxsat_csr_t: public masked_csr_t {
|
H A D | processor.cc | 443 mcounteren = std::make_shared<masked_csr_t>(proc, CSR_MCOUNTEREN, counteren_mask, 0); in reset() 445 …csrmap[CSR_SCOUNTEREN] = scounteren = std::make_shared<masked_csr_t>(proc, CSR_SCOUNTEREN, counter… in reset() 472 …csrmap[CSR_HSTATUS] = hstatus = std::make_shared<masked_csr_t>(proc, CSR_HSTATUS, hstatus_mask, hs… in reset() 475 csrmap[CSR_HIDELEG] = hideleg = std::make_shared<masked_csr_t>(proc, CSR_HIDELEG, MIP_VS_MASK, 0); in reset() 489 …csrmap[CSR_HEDELEG] = hedeleg = std::make_shared<masked_csr_t>(proc, CSR_HEDELEG, hedeleg_mask, 0); in reset() 490 …csrmap[CSR_HCOUNTEREN] = hcounteren = std::make_shared<masked_csr_t>(proc, CSR_HCOUNTEREN, counter… in reset()
|