mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-26 08:02:58 +00:00
backend_x86: Add FPSCR_RMode to EmitContext
This commit is contained in:
@@ -58,6 +58,10 @@ A32::LocationDescriptor A32EmitContext::Location() const {
|
||||
return A32::LocationDescriptor{block.Location()};
|
||||
}
|
||||
|
||||
FP::RoundingMode A32EmitContext::FPSCR_RMode() const {
|
||||
return Location().FPSCR().RMode();
|
||||
}
|
||||
|
||||
bool A32EmitContext::FPSCR_RoundTowardsZero() const {
|
||||
return Location().FPSCR().RMode() != FP::RoundingMode::TowardsZero;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user