frontend: Introduce FPSCR register helper class

Encapsulates all of the FPSCR state.
This commit is contained in:
Lioncash 2016-08-24 08:58:32 -04:00 committed by MerryMage
parent b5a86889cd
commit eba3a06d80
5 changed files with 236 additions and 59 deletions

View file

@ -21,7 +21,7 @@ std::string DumpBlock(const IR::Block& block) {
loc.PC(),
loc.TFlag() ? "T" : "!T",
loc.EFlag() ? "E" : "!E",
loc.FPSCR());
loc.FPSCR().Value());
};
ret += Common::StringFromFormat("Block: location=%s\n", loc_to_string(block.location).c_str());