implements csr mem as std::array

This commit is contained in:
2025-07-13 14:40:29 +02:00
parent c1aed64a41
commit c9c47673d9
2 changed files with 1 additions and 3 deletions

View File

@ -884,8 +884,7 @@ protected:
instrumentation_if* get_instrumentation_if() override { return &instr_if; };
using csr_type = util::sparse_array<typename traits<BASE>::reg_t, 1ULL << 12, 12>;
using csr_page_type = typename csr_type::page_type;
using csr_type = std::array<typename traits<BASE>::reg_t, 1ULL << 12>;
csr_type csr;
std::unordered_map<unsigned, rd_csr_f> csr_rd_cb;

View File

@ -39,7 +39,6 @@
#include <iss/iss.h>
#include <array>
#include <memory>
#ifndef FMT_HEADER_ONLY
#define FMT_HEADER_ONLY
#endif