Open ghost opened 4 years ago
Couple of things:
ArchData::Line
auto reg = regset->getRegister("FPSCR"); auto reg_val = reg->read<uint32_t>(); reg->set(reg_val, "FEX", 0); reg->set(reg_val, "FR", 0); reg->set(reg_val, "RN", 0x3); sparta_assert(reg->get(reg_val, "RN") == 0x3); reg->write(reg_val);
@cnyce is looking at revamping this a bit.
Couple of things:
ArchData::Line
objects to be able to copy to each other and clear dirty flags