for (int i = 0; i < NumFloatRegs; i++) {
stringstream buf;
ccprintf(buf, "F%02d", i);
- paramOut(buf.str(), xc->regs.floatRegFile.d[i]);
+ paramOut(buf.str(), xc->regs.floatRegFile.q[i]);
}
// CPUTraitsType::serializeSpecialRegs(getProxy(), xc->regs);
}
stringstream buf;
ccprintf(buf, "F%02d", i);
db.findDefault(category, buf.str(), data);
- xc->regs.floatRegFile.d[i] = strtod(data.c_str(),NULL);
+ to_number(data.c_str(), xc->regs.floatRegFile.q[i]);
}
// Read in Special registers
void
Serializeable::setName(const string &name)
{
- if (objName != "")
- panic("Cannot change object name");
+ if (objName != "") {
+ cprintf("Renaming object '%s' to '%s'.\n", objName, name);
+ }
objName = name;
}
add_objects();
while (!objects.empty()) {
Serializeable *serial = objects.front();
- DPRINTF(Serialize, "Name Children of %s\n", serial->name());
+ DPRINTF(Serialize, "Naming children of %s\n", serial->name());
serial->nameChildren();
objects.pop_front();
list.push_back(serial);
add_objects();
while (!objects.empty()) {
Serializeable *serial = objects.front();
- DPRINTF(Serialize, "Name Children of %s\n", serial->name());
+ DPRINTF(Serialize, "Serializing %s\n", serial->name());
serial->serialize();
objects.pop_front();
list.push_back(serial);