mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-07 02:42:58 +00:00
IR: Implement FPRSqrtEstimate
This commit is contained in:
@@ -1456,6 +1456,13 @@ U32U64 IREmitter::FPRoundInt(const U32U64& a, FP::RoundingMode rounding, bool ex
|
||||
return Inst<U64>(Opcode::FPRoundInt64, a, static_cast<u8>(rounding), Imm1(exact));
|
||||
}
|
||||
|
||||
U32U64 IREmitter::FPRSqrtEstimate(const U32U64& a) {
|
||||
if (a.GetType() == Type::U32) {
|
||||
return Inst<U32>(Opcode::FPRSqrtEstimate32, a);
|
||||
}
|
||||
return Inst<U64>(Opcode::FPRSqrtEstimate64, a);
|
||||
}
|
||||
|
||||
U32U64 IREmitter::FPSqrt(const U32U64& a) {
|
||||
if (a.GetType() == Type::U32) {
|
||||
return Inst<U32>(Opcode::FPSqrt32, a);
|
||||
|
||||
Reference in New Issue
Block a user