A64: Implement FCVTPS (scalar)

This commit is contained in:
MerryMage 2018-06-30 12:18:40 +01:00
parent 27319822bb
commit af661ef5a6
2 changed files with 5 additions and 1 deletions

View file

@ -214,4 +214,8 @@ bool TranslatorVisitor::FCVTAU_float(bool sf, Imm<2> type, Vec Vn, Reg Rd) {
return FloaingPointConvertUnsignedInteger(*this, sf, type, Vn, Rd, FP::RoundingMode::ToNearest_TieAwayFromZero);
}
bool TranslatorVisitor::FCVTPS_float(bool sf, Imm<2> type, Vec Vn, Reg Rd) {
return FloaingPointConvertSignedInteger(*this, sf, type, Vn, Rd, FP::RoundingMode::TowardsPlusInfinity);
}
} // namespace Dynarmic::A64