A64: Implement FCVTAS (scalar)

This commit is contained in:
MerryMage 2018-06-30 12:15:35 +01:00
parent a1965a74a0
commit c0c7a26314
2 changed files with 5 additions and 1 deletions

View file

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