VFP: Implement VSQRT

This commit is contained in:
MerryMage 2016-08-07 12:19:07 +01:00
parent cd8e7c0504
commit 0f412247ed
8 changed files with 88 additions and 11 deletions

View file

@ -320,6 +320,13 @@ IR::Value IREmitter::FPNeg64(const IR::Value& a) {
return Inst(IR::Opcode::FPNeg64, {a});
}
IR::Value IREmitter::FPSqrt32(const IR::Value& a) {
return Inst(IR::Opcode::FPSqrt32, {a});
}
IR::Value IREmitter::FPSqrt64(const IR::Value& a) {
return Inst(IR::Opcode::FPSqrt64, {a});
}
IR::Value IREmitter::FPSub32(const IR::Value& a, const IR::Value& b, bool fpscr_controlled) {
ASSERT(fpscr_controlled);