28#ifndef __CPU_REGFILE_HH__
29#define __CPU_REGFILE_HH__
64 template <
typename Reg=RegVal>
71 template <
typename Reg=RegVal>
76 return *
reinterpret_cast<const Reg *
>(
void set(size_t idx, const void *val)
void get(size_t idx, void *val) const
RegFile(const RegClass &info)
RegFile(const RegClass &info, const size_t new_size)
const Reg & reg(size_t idx) const
std::vector< uint8_t > data
const RegClass & regClass
const void * ptr(size_t idx) const
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.