EmitContext: Expose FPCR

This commit is contained in:
MerryMage
2018-07-15 14:23:50 +01:00
parent 9571269552
commit 760cc3ca89
5 changed files with 11 additions and 0 deletions

View File

@@ -62,6 +62,10 @@ FP::RoundingMode A32EmitContext::FPSCR_RMode() const {
return Location().FPSCR().RMode();
}
u32 A32EmitContext::FPCR() const {
return Location().FPSCR().Value();
}
bool A32EmitContext::FPSCR_RoundTowardsZero() const {
return Location().FPSCR().RMode() != FP::RoundingMode::TowardsZero;
}