mirror of
https://github.com/azahar-emu/dynarmic
synced 2025-11-11 17:39:59 +01:00
floating_point_conversion_integer: Use FPS64ToDouble and FPU64ToDouble in SCVTF_float_int and UCVTF_float_int
The opcodes introduced in 979b6f39f1621b80bd463645ec5b08661cb6b1bf can also be used here, avoiding more falling back to the interpreter.
This commit is contained in:
parent
b97358075e
commit
3714bc0ed4
@ -39,7 +39,7 @@ bool TranslatorVisitor::SCVTF_float_int(bool sf, Imm<2> type, Reg Rn, Vec Vd) {
|
|||||||
} else if (intsize == 64 && *fltsize == 32) {
|
} else if (intsize == 64 && *fltsize == 32) {
|
||||||
return InterpretThisInstruction();
|
return InterpretThisInstruction();
|
||||||
} else if (intsize == 64 && *fltsize == 64) {
|
} else if (intsize == 64 && *fltsize == 64) {
|
||||||
return InterpretThisInstruction();
|
fltval = ir.FPS64ToDouble(intval, false, true);
|
||||||
} else {
|
} else {
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
@ -66,7 +66,7 @@ bool TranslatorVisitor::UCVTF_float_int(bool sf, Imm<2> type, Reg Rn, Vec Vd) {
|
|||||||
} else if (intsize == 64 && *fltsize == 32) {
|
} else if (intsize == 64 && *fltsize == 32) {
|
||||||
return InterpretThisInstruction();
|
return InterpretThisInstruction();
|
||||||
} else if (intsize == 64 && *fltsize == 64) {
|
} else if (intsize == 64 && *fltsize == 64) {
|
||||||
return InterpretThisInstruction();
|
fltval = ir.FPU64ToDouble(intval, false, true);
|
||||||
} else {
|
} else {
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user