mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-09 04:02:56 +00:00
frontend/ir/ir_emitter: Add opcodes for floating point reciprocal exponents
This commit is contained in:
@@ -1895,6 +1895,13 @@ U32U64 IREmitter::FPRecipEstimate(const U32U64& a) {
|
||||
return Inst<U64>(Opcode::FPRecipEstimate64, a);
|
||||
}
|
||||
|
||||
U32U64 IREmitter::FPRecipExponent(const U32U64& a) {
|
||||
if (a.GetType() == Type::U32) {
|
||||
return Inst<U32>(Opcode::FPRecipExponent32, a);
|
||||
}
|
||||
return Inst<U64>(Opcode::FPRecipExponent64, a);
|
||||
}
|
||||
|
||||
U32U64 IREmitter::FPRecipStepFused(const U32U64& a, const U32U64& b) {
|
||||
if (a.GetType() == Type::U32) {
|
||||
return Inst<U32>(Opcode::FPRecipStepFused32, a, b);
|
||||
|
||||
Reference in New Issue
Block a user